fix(SW-1043): styling fixes

This commit is contained in:
Tobias Johansson
2024-12-02 15:25:38 +01:00
parent 6f9fb4b620
commit f7cf1e9a2b
4 changed files with 7 additions and 4 deletions

View File

@@ -21,6 +21,7 @@
grid-template-columns: 1fr 340px;
grid-template-rows: auto 1fr;
width: var(--max-width-page);
margin: var(--Spacing-x5) auto 0;
/* simulates padding on viewport smaller than --max-width-navigation */
}

View File

@@ -13,9 +13,6 @@
grid-template-rows: var(--header-height) 0fr;
column-gap: var(--Spacing-x-one-and-half);
transform-origin: top;
scroll-margin-top: 71px; /* booking widget height */
}
.accordion:last-child {
@@ -97,6 +94,10 @@
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) {
.accordion {
column-gap: var(--Spacing-x3);

View File

@@ -6,6 +6,7 @@
border-width: 1px;
border-radius: var(--Corner-radius-Medium);
display: grid;
min-width: 0; /* allow shrinkage */
height: 60px;
padding: var(--Spacing-x1) var(--Spacing-x2);
transition: border-color 200ms ease;

View File

@@ -96,7 +96,7 @@ export default function Select({
<ListBox className={styles.listBox}>
{items.map((item) => (
<ListBoxItem
aria-label={String(item)}
aria-label={JSON.stringify(item)}
className={`${styles.listBoxItem} ${showRadioButton && styles.showRadioButton}`}
id={item.value}
key={item.label}