From 353aaa46c7a15530744f266703ac476b12ea3fd3 Mon Sep 17 00:00:00 2001 From: Kenn Jacobsen Date: Thu, 1 Oct 2020 20:16:18 +0200 Subject: [PATCH] Make Nested Content icons centered and same size as Block Editor --- .../src/less/components/umb-nested-content.less | 9 +++++---- .../nestedcontent/nestedcontent.propertyeditor.html | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/components/umb-nested-content.less b/src/Umbraco.Web.UI.Client/src/less/components/umb-nested-content.less index 5f0a6a3c00ab..05824ba42577 100644 --- a/src/Umbraco.Web.UI.Client/src/less/components/umb-nested-content.less +++ b/src/Umbraco.Web.UI.Client/src/less/components/umb-nested-content.less @@ -91,9 +91,10 @@ color:@ui-option-type-hover; } - i { + .umb-nested-content__item-icon { position: absolute; - margin-top: -1px; + margin-top: -3px; + font-size: 22px; } .umb-nested-content__item-name { @@ -116,7 +117,7 @@ transition: opacity 120ms ease-in-out; position: absolute; right: 0; - top: 3px; + top: 5px; padding: 5px; background-color: @white; } @@ -167,7 +168,7 @@ .umb-nested-content__icon .icon { display: block; - font-size: 16px !important; + font-size: 18px !important; } .umb-nested-content__icon--disabled { diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.propertyeditor.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.propertyeditor.html index 2f3856b1012a..f853387612ec 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.propertyeditor.html +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.propertyeditor.html @@ -18,7 +18,7 @@ ng-hide="vm.singleMode" umb-auto-focus="{{vm.currentNode.key === node.key ? 'true' : 'false'}}"> -
+