mirror of
https://github.com/home-assistant/frontend.git
synced 2026-02-15 07:25:54 +00:00
Another dropdown-hidden-behind-header fix (#709)
This commit is contained in:
@@ -56,10 +56,12 @@ transform: translate(0) is added.
|
||||
#contentContainer {
|
||||
/* Create a stacking context here so that all children appear below the header. */
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
}
|
||||
.scroll-limiter {
|
||||
/* Using 'transform' will cause 'position: fixed' elements to behave like
|
||||
'position: absolute' relative to this element. */
|
||||
transform: translate(0);
|
||||
z-index: 0;
|
||||
}
|
||||
:host([has-scrolling-region]) .scroll-limiter {
|
||||
overflow-y: auto;
|
||||
|
||||
Reference in New Issue
Block a user