Another dropdown-hidden-behind-header fix (#709)

This commit is contained in:
Andrey 2017-12-05 03:19:03 +02:00 committed by Paulus Schoutsen
parent a723c62f4f
commit b092cdd04d

View File

@ -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;