fix(SW-2820): full width booking widget on startpage when scrolled down
Approved-by: Linus Flood
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
.floatingBookingWidget {
|
.floatingBookingWidget {
|
||||||
width: 100vw;
|
width: var(--max-width-content);
|
||||||
|
margin: 0 auto;
|
||||||
min-height: 84px;
|
min-height: 84px;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -9,7 +10,6 @@
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: rgba(255, 255, 255, 0);
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -26,9 +26,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 767px) {
|
|
||||||
.floatingBookingWidget {
|
|
||||||
padding: 0 0.5rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
.wrapper {
|
.wrapper {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
z-index: var(--booking-widget-z-index);
|
z-index: var(--booking-widget-z-index);
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.formContainer {
|
.formContainer {
|
||||||
@@ -16,6 +17,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
bottom: -100%;
|
bottom: -100%;
|
||||||
transition: bottom 300ms ease;
|
transition: bottom 300ms ease;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.compact {
|
.compact {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
display: grid;
|
display: grid;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
width: 100dvw;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form {
|
.form {
|
||||||
@@ -43,7 +43,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.compact {
|
.compact {
|
||||||
width: 1160px;
|
|
||||||
padding: var(--Spacing-x-one-and-half) var(--Spacing-x2)
|
padding: var(--Spacing-x-one-and-half) var(--Spacing-x2)
|
||||||
var(--Spacing-x-one-and-half) var(--Spacing-x1);
|
var(--Spacing-x-one-and-half) var(--Spacing-x1);
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|||||||
Reference in New Issue
Block a user