[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
This commit is contained in:
David Tsay 2020-10-23 10:02:18 -07:00 committed by GitHub
parent 463c44679d
commit 1a6369c2b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'] {