Hide Flexible Layout header buttons when frame is hidden (#6486)

- Hide nested frame header buttons for Flexible Layouts as well as Display Layouts.
- Adjust z-index of frame control header buttons.
This commit is contained in:
Charles Hacskaylo 2023-03-21 17:24:41 -07:00 committed by GitHub
parent 2f04add2a3
commit 50742c4f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@
pointer-events: none;
position: absolute;
top: 0; right: 0; bottom: auto; left: 0;
z-index: 2;
z-index: 10;
.c-object-label {
visibility: hidden;
@ -99,6 +99,8 @@
}
}
}
&.c-so-view--flexible-layout,
&.c-so-view--layout {
// For sub-layouts with hidden frames, completely hide the header to avoid overlapping buttons
> .c-so-view__header {