diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/utils.ts b/apps/scandic-web/components/HotelReservation/SelectRate/utils.ts index a82300eb9..ff4978383 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/utils.ts +++ b/apps/scandic-web/components/HotelReservation/SelectRate/utils.ts @@ -11,7 +11,13 @@ export function combineRoomAvailabilities( return availabilityResults.reduce((acc, result) => { if (result.status === "fulfilled" && result.value) { if (acc) { - acc.roomConfigurations.push(...result.value.roomConfigurations) + acc = { + ...acc, + roomConfigurations: [ + ...acc.roomConfigurations, + ...result.value.roomConfigurations, + ], + } } else { acc = result.value } diff --git a/apps/scandic-web/components/Modal/modal.module.css b/apps/scandic-web/components/Modal/modal.module.css index 40731e1b8..87d9a7c84 100644 --- a/apps/scandic-web/components/Modal/modal.module.css +++ b/apps/scandic-web/components/Modal/modal.module.css @@ -29,6 +29,8 @@ /* for supporting animations within content */ position: relative; overflow: hidden; + + max-height: 100dvh; } .header { @@ -48,6 +50,7 @@ align-items: center; gap: var(--Spacing-x2); padding: 0 var(--Spacing-x3) var(--Spacing-x4); + overflow: auto; } .close { @@ -78,4 +81,8 @@ border-radius: var(--Corner-radius-Medium); max-width: var(--max-width-page); } + + .dialog { + max-height: 90dvh; + } }