@asksable/site-connector 0.6.14 → 0.6.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles.css +21 -10
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -2727,15 +2727,19 @@
|
|
|
2727
2727
|
@media (max-width: 1024px) {
|
|
2728
2728
|
/* Lock the frame to a single height across all steps so the widget
|
|
2729
2729
|
doesn't bounce as the user moves between services / date / etc.
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
when a step exceeds it. */
|
|
2730
|
+
Host pages with their own header can set --bw-mobile-viewport-offset
|
|
2731
|
+
so the header + booking frame fit inside the visible viewport. */
|
|
2733
2732
|
.bw {
|
|
2734
|
-
/* svh
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2733
|
+
/* svh is the fallback for browsers without dvh support. */
|
|
2734
|
+
min-height: max(0px, calc(100svh - var(--bw-mobile-viewport-offset, 0px)));
|
|
2735
|
+
max-height: max(0px, calc(100svh - var(--bw-mobile-viewport-offset, 0px)));
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2738
|
+
@supports (height: 100dvh) {
|
|
2739
|
+
.bw {
|
|
2740
|
+
min-height: max(0px, calc(100dvh - var(--bw-mobile-viewport-offset, 0px)));
|
|
2741
|
+
max-height: max(0px, calc(100dvh - var(--bw-mobile-viewport-offset, 0px)));
|
|
2742
|
+
}
|
|
2739
2743
|
}
|
|
2740
2744
|
|
|
2741
2745
|
/* Lock header/footer in the column so they never shrink under
|
|
@@ -2768,8 +2772,15 @@
|
|
|
2768
2772
|
}
|
|
2769
2773
|
|
|
2770
2774
|
.bw-placeholder {
|
|
2771
|
-
min-height:
|
|
2772
|
-
max-height:
|
|
2775
|
+
min-height: max(0px, calc(100svh - var(--bw-mobile-viewport-offset, 0px)));
|
|
2776
|
+
max-height: max(0px, calc(100svh - var(--bw-mobile-viewport-offset, 0px)));
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
@supports (height: 100dvh) {
|
|
2780
|
+
.bw-placeholder {
|
|
2781
|
+
min-height: max(0px, calc(100dvh - var(--bw-mobile-viewport-offset, 0px)));
|
|
2782
|
+
max-height: max(0px, calc(100dvh - var(--bw-mobile-viewport-offset, 0px)));
|
|
2783
|
+
}
|
|
2773
2784
|
}
|
|
2774
2785
|
|
|
2775
2786
|
.bw-placeholder-header {
|