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

@@ -13,13 +13,15 @@
color: var(--language-switcher-color);
}
.button * {
.button *,
.button svg * {
fill: var(--language-switcher-color);
}
.button:hover {
color: var(--language-switcher-hover-color);
}
.button:hover * {
.button:hover *,
.button:hover svg * {
fill: var(--language-switcher-hover-color);
}
@@ -51,7 +53,9 @@
.header .dropdown {
right: -100vw;
top: var(--main-menu-mobile-height);
top: calc(
var(--main-menu-mobile-height) + var(--sitewide-alert-height) + 1px
);
bottom: 0;
transition: right 0.3s;
}