Merged in fix/book-751-booking-widget-tablet-skeleton (pull request #3454)
fix(BOOK-751): added missing padding to tablet booking widget skeleton * fix(BOOK-751): added missing padding to tablet booking widget skeleton Approved-by: Bianca Widstam Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -40,6 +40,7 @@ export function VoucherSkeleton() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
<div className={styles.skeletonContainer}>
|
||||||
<div className={styles.optionsContainer}>
|
<div className={styles.optionsContainer}>
|
||||||
{config.bookingCodeEnabled && (
|
{config.bookingCodeEnabled && (
|
||||||
<div className={styles.voucherSkeletonContainer}>
|
<div className={styles.voucherSkeletonContainer}>
|
||||||
@@ -63,5 +64,6 @@ export function VoucherSkeleton() {
|
|||||||
</div>
|
</div>
|
||||||
</Typography>
|
</Typography>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,6 +54,9 @@
|
|||||||
.showOnTablet {
|
.showOnTablet {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
.skeletonContainer {
|
||||||
|
padding: var(--Space-x2) 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 1367px) {
|
@media screen and (min-width: 1367px) {
|
||||||
|
|||||||
@@ -171,6 +171,7 @@ export function BookingWidgetFormContentSkeleton() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.input}>
|
<div className={styles.input}>
|
||||||
|
<div className={styles.inputRow}>
|
||||||
<div className={styles.inputContainer}>
|
<div className={styles.inputContainer}>
|
||||||
<div className={styles.where}>
|
<div className={styles.where}>
|
||||||
<SearchSkeleton />
|
<SearchSkeleton />
|
||||||
@@ -217,6 +218,7 @@ export function BookingWidgetFormContentSkeleton() {
|
|||||||
iconName="search"
|
iconName="search"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div className={cx(styles.voucherContainer, styles.voucherRow)}>
|
<div className={cx(styles.voucherContainer, styles.voucherRow)}>
|
||||||
<VoucherSkeleton />
|
<VoucherSkeleton />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user