From fb29df206b1a4161b14ec9c2e500fb5ee1c771c3 Mon Sep 17 00:00:00 2001 From: Michael Zetterberg Date: Mon, 19 May 2025 11:40:30 +0200 Subject: [PATCH] feat(SW-2806): booking widget should not be blocked by sitewide alert --- .../components/BookingWidget/bookingWidget.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/scandic-web/components/BookingWidget/bookingWidget.module.css b/apps/scandic-web/components/BookingWidget/bookingWidget.module.css index 18c2b44d3..320184773 100644 --- a/apps/scandic-web/components/BookingWidget/bookingWidget.module.css +++ b/apps/scandic-web/components/BookingWidget/bookingWidget.module.css @@ -9,7 +9,7 @@ background-color: var(--UI-Input-Controls-Surface-Normal); border-radius: 0; gap: var(--Spacing-x3); - height: calc(100dvh - 20px); + height: calc(100dvh - max(var(--sitewide-alert-height), 20px)); width: 100%; padding: var(--Spacing-x3) var(--Spacing-x2) var(--Spacing-x7); position: fixed;