Files
web/packages/booking-flow/lib/components/BookingWidget/FloatingBookingWidget/FloatingBookingWidget.module.css
Erik Tiekstra cab85f3ffd fix(BOOK-498): removed and changed z-index values to have booking widget overlapping correctly on mobile.
Approved-by: Bianca Widstam
Approved-by: Hrishikesh Vaipurkar
2025-11-07 13:03:25 +00:00

34 lines
733 B
CSS

.floatingBookingWidget {
width: var(--max-width-content);
margin: 0 auto;
min-height: 88px;
position: relative;
.floatingBackground {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
}
&[data-intersecting="true"] {
.floatingBackground {
background: var(--Surface-UI-Fill-Default);
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: var(--booking-widget-z-index);
margin-top: var(--sitewide-alert-sticky-height);
box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.05);
}
}
}
@media screen and (min-width: 768px) and (max-width: 1366px) {
.floatingBookingWidget {
min-height: 150px;
}
}