Files
web/apps/scandic-web/components/Header/MainMenu/MyPagesMobileMenu/myPagesMobileMenu.module.css
Bianca Widstam 1f96e9be06 Merged in fix/SW-2844-gap-mobile-header-menu (pull request #2674)
fix(SW-2844): remove gap between header and side menu on mobile

* fix(SW-2844): remove gap between header and side menu on mobile


Approved-by: Erik Tiekstra
2025-08-20 07:23:10 +00:00

39 lines
597 B
CSS

@keyframes slide-in {
from {
right: -100vw;
}
to {
right: 0;
}
}
.modal {
position: fixed;
top: calc(var(--main-menu-mobile-height) + var(--sitewide-alert-height));
right: auto;
bottom: 0;
width: 100%;
background-color: var(--Base-Surface-Primary-light-Normal);
z-index: var(--menu-overlay-z-index);
}
.modal[data-entering] {
animation: slide-in 0.3s;
}
.modal[data-exiting] {
animation: slide-in 0.3s reverse;
}
.dialog {
height: 100%;
overflow-y: auto;
}
@media screen and (min-width: 768px) {
.myPagesMobileMenu,
.modal {
display: none;
}
}