From 4e17bf1391246df7b77baad3acf9b3271ea00b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20J=C3=A4derberg?= Date: Thu, 17 Apr 2025 08:56:02 +0000 Subject: [PATCH] Merged in fix/SW-2314-search-modal-shifting (pull request #1831) fix: search modal shifted to the right on mobile Approved-by: Linus Flood --- .../components/BookingWidget/bookingWidget.module.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/scandic-web/components/BookingWidget/bookingWidget.module.css b/apps/scandic-web/components/BookingWidget/bookingWidget.module.css index 3e5259ed0..bd3b526b7 100644 --- a/apps/scandic-web/components/BookingWidget/bookingWidget.module.css +++ b/apps/scandic-web/components/BookingWidget/bookingWidget.module.css @@ -13,6 +13,7 @@ width: 100%; padding: var(--Spacing-x3) var(--Spacing-x2) var(--Spacing-x7); position: fixed; + left: 0; bottom: -100%; transition: bottom 300ms ease; } @@ -34,6 +35,7 @@ } .wrapper[data-open="true"] .formContainer { + left: 0; bottom: 0; }