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