Fixed position for fullscreen menu to make it behave better when activated on a scrolled-down viewport
This commit is contained in:
parent
f321afaa4f
commit
1752324f29
@ -4,7 +4,7 @@
|
||||
--fulscreen-menu-inner-height: calc(
|
||||
var(--fullscreen-menu-height) - 2 * var(--fullscreen-menu-padding)
|
||||
);
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
background-color: white;
|
||||
padding: var(--fullscreen-menu-padding);
|
||||
padding-right: 0; /* for scrollbar to be close to the screen edge */
|
||||
|
Loading…
x
Reference in New Issue
Block a user