Merged in fix/SW-1743-navigation-fixes (pull request #1487)

fix(SW-1743): prevent scrolling

* fix(SW-1743): prevent scrolling


Approved-by: Erik Tiekstra
Approved-by: Matilda Landström
This commit is contained in:
Fredrik Thorsson
2025-03-07 09:37:48 +00:00
parent 585cfdd684
commit c3be694874
2 changed files with 12 additions and 0 deletions

View File

@@ -27,6 +27,7 @@
--booking-widget-open-z-index: 100;
--dialog-z-index: 9;
--back-to-top-button: 80;
--language-switcher-z-index: 85;
--sidepeek-z-index: 100;
--lightbox-z-index: 150;
--default-modal-overlay-z-index: 100;

View File

@@ -78,6 +78,17 @@
transform: translateY(0);
}
@media screen and (max-width: 767px) {
body:has(.footer .dropdown.isExpanded) {
overflow: hidden !important;
touch-action: none;
}
.footer .dropdown.isExpanded {
z-index: var(--language-switcher-z-index);
}
}
@media screen and (min-width: 768px) {
.languageSwitcher {
position: relative;