From 1a6369c2b98431b25e1e167aa712cf5d04072d0c Mon Sep 17 00:00:00 2001 From: David Tsay <3614296+davetsay@users.noreply.github.com> Date: Fri, 23 Oct 2020 10:02:18 -0700 Subject: [PATCH] [Display Layout] Grid lines should show and hide appropriately for nested layouts (#3330) * change selector from sibling to same element * hide gridlines for selected layout if is multi selection --- src/plugins/displayLayout/components/display-layout.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/displayLayout/components/display-layout.scss b/src/plugins/displayLayout/components/display-layout.scss index 6cc90f11e9..426cbff607 100644 --- a/src/plugins/displayLayout/components/display-layout.scss +++ b/src/plugins/displayLayout/components/display-layout.scss @@ -42,10 +42,10 @@ } .l-layout__frame { - &[s-selected], + &[s-selected]:not([multi-select="true"]), &[s-selected-parent] { // Display grid and allow edit marquee to display in nested layouts when editing - > * > * > .l-layout + .allow-editing { + > * > * > .l-layout.allow-editing { box-shadow: inset $editUIGridColorFg 0 0 2px 1px; > [class*='grid-holder'] {