fix(SW-1043): styling fixes
This commit is contained in:
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
grid-template-columns: 1fr 340px;
|
grid-template-columns: 1fr 340px;
|
||||||
grid-template-rows: auto 1fr;
|
grid-template-rows: auto 1fr;
|
||||||
|
width: var(--max-width-page);
|
||||||
margin: var(--Spacing-x5) auto 0;
|
margin: var(--Spacing-x5) auto 0;
|
||||||
/* simulates padding on viewport smaller than --max-width-navigation */
|
/* simulates padding on viewport smaller than --max-width-navigation */
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,9 +13,6 @@
|
|||||||
grid-template-rows: var(--header-height) 0fr;
|
grid-template-rows: var(--header-height) 0fr;
|
||||||
|
|
||||||
column-gap: var(--Spacing-x-one-and-half);
|
column-gap: var(--Spacing-x-one-and-half);
|
||||||
|
|
||||||
transform-origin: top;
|
|
||||||
scroll-margin-top: 71px; /* booking widget height */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.accordion:last-child {
|
.accordion:last-child {
|
||||||
@@ -97,6 +94,10 @@
|
|||||||
transform-origin: top;
|
transform-origin: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.accordion[data-open="true"] .content {
|
||||||
|
overflow: visible; /* DoB dropdowns needs to overflow in enter details step */
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
.accordion {
|
.accordion {
|
||||||
column-gap: var(--Spacing-x3);
|
column-gap: var(--Spacing-x3);
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-radius: var(--Corner-radius-Medium);
|
border-radius: var(--Corner-radius-Medium);
|
||||||
display: grid;
|
display: grid;
|
||||||
|
min-width: 0; /* allow shrinkage */
|
||||||
height: 60px;
|
height: 60px;
|
||||||
padding: var(--Spacing-x1) var(--Spacing-x2);
|
padding: var(--Spacing-x1) var(--Spacing-x2);
|
||||||
transition: border-color 200ms ease;
|
transition: border-color 200ms ease;
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ export default function Select({
|
|||||||
<ListBox className={styles.listBox}>
|
<ListBox className={styles.listBox}>
|
||||||
{items.map((item) => (
|
{items.map((item) => (
|
||||||
<ListBoxItem
|
<ListBoxItem
|
||||||
aria-label={String(item)}
|
aria-label={JSON.stringify(item)}
|
||||||
className={`${styles.listBoxItem} ${showRadioButton && styles.showRadioButton}`}
|
className={`${styles.listBoxItem} ${showRadioButton && styles.showRadioButton}`}
|
||||||
id={item.value}
|
id={item.value}
|
||||||
key={item.label}
|
key={item.label}
|
||||||
|
|||||||
Reference in New Issue
Block a user