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