Merged in feat/SW-1339-mobile-navigation (pull request #1178)

feat(SW-1339): Now supporting sitewide alert height to decide the position of the navigation menus

* feat(SW-1339): Now supporting sitewide alert height to decide the position of the navigation menus


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-01-21 10:52:39 +00:00
parent 554b73696d
commit c98c7a2d6b
6 changed files with 52 additions and 11 deletions

View File

@@ -27,7 +27,9 @@
.dropdown {
position: fixed;
width: 100%;
top: var(--main-menu-mobile-height);
top: calc(
var(--main-menu-mobile-height) + var(--sitewide-alert-height) + 1px
);
right: -100vw;
bottom: 0;
transition: right 0.3s;