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
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
border: 1px solid var(--Base-Border-Subtle);
|
||||
position: relative;
|
||||
height: 100%;
|
||||
min-height: 730px;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user