From 539640f9951aba522a7d01e6b8b2b655e5cd8978 Mon Sep 17 00:00:00 2001 From: Mark Drake Date: Fri, 14 Apr 2023 00:50:39 -0400 Subject: [PATCH] resolve spacing issues with block list inline editor when it is the last property editor on the current tab (cherry picked from commit 9a638b6edc3d6788f7368d14fe2aac4fc636953d) --- src/Umbraco.Web.UI.Client/src/less/main.less | 2 +- .../blocklistentryeditors/inlineblock/inlineblock.editor.less | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/main.less b/src/Umbraco.Web.UI.Client/src/less/main.less index 024a668874..2fce7dfe65 100644 --- a/src/Umbraco.Web.UI.Client/src/less/main.less +++ b/src/Umbraco.Web.UI.Client/src/less/main.less @@ -165,7 +165,7 @@ h6.-black { } } -umb-property:last-of-type .umb-control-group { +umb-property:last-of-type > .umb-property > ng-form > .umb-control-group { &::after { margin-top: 0px; height: 0; diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.less b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.less index b8ffcff3ec..4cf79ee044 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.less +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/inlineblock/inlineblock.editor.less @@ -6,6 +6,10 @@ border-radius: @baseBorderRadius; transition: border-color 120ms, background-color 120ms; + .umb-box { + margin-bottom: 0; + } + .umb-block-list__block:not(.--active) &:hover { border-color: @gray-8; }