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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user