diff --git a/apps/scandic-web/components/HotelReservation/HotelCard/hotelCard.module.css b/apps/scandic-web/components/HotelReservation/HotelCard/hotelCard.module.css index 361a3ba80..35f003707 100644 --- a/apps/scandic-web/components/HotelReservation/HotelCard/hotelCard.module.css +++ b/apps/scandic-web/components/HotelReservation/HotelCard/hotelCard.module.css @@ -6,6 +6,7 @@ border-radius: var(--Corner-radius-md); width: 100%; overflow: hidden; + color: var(--Text-Default); } .card.active { @@ -27,13 +28,13 @@ } .hotelInformation { - margin-bottom: var(--Spacing-x-half); + margin-bottom: var(--Space-x05); } .hotelContent { display: flex; flex-direction: column; - padding: var(--Spacing-x2); + padding: var(--Space-x2); } .hotelDescription { @@ -43,14 +44,14 @@ .titleContainer { display: flex; flex-direction: column; - gap: var(--Spacing-x-half); - margin-top: var(--Spacing-x-half); + gap: var(--Space-x05); + margin-top: var(--Space-x05); } .addressContainer { display: flex; flex-wrap: wrap; - gap: var(--Spacing-x1); + gap: var(--Space-x1); } .address { @@ -61,26 +62,27 @@ .facilities { display: flex; flex-wrap: wrap; - gap: var(--Spacing-x1); - margin-top: var(--Spacing-x-one-and-half); + gap: var(--Space-x1); + margin-top: var(--Space-x15); } .facilitiesItem { display: flex; align-items: center; - gap: var(--Spacing-x-half); + gap: var(--Space-x05); + color: var(--Text-Secondary); } .specialAlerts { display: flex; flex-direction: column; - gap: var(--Spacing-x1); + gap: var(--Space-x1); } .prices { display: flex; flex-direction: column; - gap: var(--Spacing-x-one-and-half); + gap: var(--Space-x15); } .link:hover { @@ -105,7 +107,7 @@ .pointsCard { background-color: var(--Base-Surface-Secondary-light-Normal); - padding: var(--Spacing-x-one-and-half); + padding: var(--Space-x15); border-radius: var(--Corner-radius-md); } @@ -155,23 +157,23 @@ .pageListing .hotelInformation { width: min(422px, 100%); - padding-right: var(--Spacing-x2); + padding-right: var(--Space-x2); margin: 0; } .pageListing .facilities { - margin: var(--Spacing-x1) 0; + margin: var(--Space-x1) 0; } .pageListing .hotelContent { flex-direction: row; align-items: center; - gap: var(--Spacing-x2); - padding-left: var(--Spacing-x3); + gap: var(--Space-x2); + padding-left: var(--Space-x3); } .pageListing .titleContainer { - margin-bottom: var(--Spacing-x-one-and-half); + margin-bottom: var(--Space-x15); } .pageListing .fakeButton { diff --git a/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx b/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx index 152ff2e74..c6f47cba5 100644 --- a/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx +++ b/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx @@ -17,9 +17,7 @@ import { FacilityToIcon } from "@/components/ContentType/HotelPage/data" import ImageGallery from "@/components/ImageGallery" import Divider from "@/components/TempDesignSystem/Divider" import Link from "@/components/TempDesignSystem/Link" -import Body from "@/components/TempDesignSystem/Text/Body" import Caption from "@/components/TempDesignSystem/Text/Caption" -import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" import { Tooltip } from "@/components/TempDesignSystem/Tooltip" import { mapApiImagesToGalleryImages } from "@/utils/imageGallery" import { getSingleDecimal } from "@/utils/numberFormatting" @@ -89,22 +87,27 @@ function HotelCard({ >
+ {hotel.hotelContent.texts.descriptions.short} +
+