From 1513463ca76b8aaa5f3382c783af8eb11f95dc89 Mon Sep 17 00:00:00 2001 From: Tobias Klika Date: Mon, 2 Sep 2019 02:30:03 +0200 Subject: [PATCH] update picker --- .../App_Plugins/brothers.uNesting/uNesting.css | 17 +++++++++++++++++ .../App_Plugins/brothers.uNesting/uNesting.html | 3 ++- .../App_Plugins/brothers.uNesting/uNesting.js | 1 - 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.css b/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.css index 2d47820..c09b4cb 100644 --- a/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.css +++ b/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.css @@ -615,6 +615,23 @@ un-config right: 22px; } +.unesting-picker-container +{ + max-height: calc(100vh - 220px); + max-width: 540px !important; +} + +.unesting-picker-container .umb-overlay-container +{ + scrollbar-color: #ddd8d8 transparent; + scrollbar-width: thin; + max-height: calc(100vh - 360px); +} +.unesting-picker-container.umb-overlay.umb-overlay-center .umb-overlay-header +{ + padding: 20px 30px 10px; +} + /* data type overrides */ .unesting-item[unesting-alias="headline"] .unesting-text-partial[unesting-index="0"], diff --git a/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.html b/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.html index 9dd4bf8..ee59030 100644 --- a/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.html +++ b/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.html @@ -91,7 +91,8 @@ diff --git a/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.js b/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.js index 9651774..5a1af67 100644 --- a/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.js +++ b/UmbracoPackages/App_Plugins/brothers.uNesting/uNesting.js @@ -149,7 +149,6 @@ angular.module("umbraco").controller("brothers.uNesting.PropertyEditorController filter: true, // $scope.scaffolds.length > 12 ? true : false, orderBy: "$index", view: "/App_Plugins/brothers.uNesting/uNesting.picker.html", - position: 'left', event: $event, clickPasteItem: function (item) {