From 97f11a2488a1ca28248cedbe192d4bd035792c33 Mon Sep 17 00:00:00 2001 From: Bianca Widstam Date: Tue, 7 Jan 2025 09:45:50 +0000 Subject: [PATCH] Merged in fix/SW-1329-SW-1122-select-room-card-alignment (pull request #1137) fix(SW-1329)(SW-1122): remove min-height and set default height of price card to minimum of price cards * fix(SW-1329)(SW-1122): remove min-height and set default height of price card to minimum of price cards Approved-by: Niclas Edenvin --- .../SelectRate/RoomSelection/RoomCard/roomCard.module.css | 1 - components/HotelReservation/SelectRate/RoomSelection/index.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/HotelReservation/SelectRate/RoomSelection/RoomCard/roomCard.module.css b/components/HotelReservation/SelectRate/RoomSelection/RoomCard/roomCard.module.css index 1a2bfd83d..70bdc7705 100644 --- a/components/HotelReservation/SelectRate/RoomSelection/RoomCard/roomCard.module.css +++ b/components/HotelReservation/SelectRate/RoomSelection/RoomCard/roomCard.module.css @@ -7,7 +7,6 @@ border: 1px solid var(--Base-Border-Subtle); position: relative; height: 100%; - min-height: 730px; justify-content: space-between; } diff --git a/components/HotelReservation/SelectRate/RoomSelection/index.tsx b/components/HotelReservation/SelectRate/RoomSelection/index.tsx index 0e71c5fde..ddab2f3f3 100644 --- a/components/HotelReservation/SelectRate/RoomSelection/index.tsx +++ b/components/HotelReservation/SelectRate/RoomSelection/index.tsx @@ -39,7 +39,7 @@ export default function RoomSelection({ const optionsSelector = `.${RATE_CARD_EQUAL_HEIGHT_CLASS}` const availableSelector = `.${RATE_CARDS_AVAILABLE_HEIGHT_CLASS}` const notAvailableSelector = `.${RATE_CARDS_NOT_AVAILABLE_HEIGHT_CLASS}` - const DEFAULT_RATE_CARD_HEIGHT = 420 + const DEFAULT_RATE_CARD_HEIGHT = 380 const maxOptionHeights: number[] = [] let maxPriceCardHeight = DEFAULT_RATE_CARD_HEIGHT