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:
@@ -27,6 +27,7 @@
|
|||||||
--booking-widget-open-z-index: 100;
|
--booking-widget-open-z-index: 100;
|
||||||
--dialog-z-index: 9;
|
--dialog-z-index: 9;
|
||||||
--back-to-top-button: 80;
|
--back-to-top-button: 80;
|
||||||
|
--language-switcher-z-index: 85;
|
||||||
--sidepeek-z-index: 100;
|
--sidepeek-z-index: 100;
|
||||||
--lightbox-z-index: 150;
|
--lightbox-z-index: 150;
|
||||||
--default-modal-overlay-z-index: 100;
|
--default-modal-overlay-z-index: 100;
|
||||||
|
|||||||
@@ -78,6 +78,17 @@
|
|||||||
transform: translateY(0);
|
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) {
|
@media screen and (min-width: 768px) {
|
||||||
.languageSwitcher {
|
.languageSwitcher {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
Reference in New Issue
Block a user