feat(SW-344): Hotel list in mobile

This commit is contained in:
Pontus Dreij
2024-11-12 09:19:11 +01:00
parent 169751c5a6
commit b73421dbde
10 changed files with 146 additions and 47 deletions

View File

@@ -2,6 +2,37 @@
display: none;
}
.hotelListingMobile {
display: none;
align-items: flex-end;
overflow-x: auto;
position: absolute;
bottom: 0px;
left: 0;
right: 0;
z-index: 10;
height: 350px;
gap: var(--Spacing-x1);
}
.hotelListingMobile[data-open="true"] {
display: flex;
}
.hotelListingMobile dialog {
position: relative;
padding: 0;
margin: 0;
}
.hotelListingMobile > div:first-child {
margin-left: 16px;
}
.hotelListingMobile > div:last-child {
margin-right: 16px;
}
@media (min-width: 768px) {
.hotelListing {
display: block;
@@ -9,4 +40,9 @@
overflow-y: auto;
padding-top: var(--Spacing-x2);
}
.hotelListingMobile,
.hotelListingMobile[data-open="true"] {
display: none;
}
}