diff --git a/components/MyPages/Blocks/Stays/Soonest/EmptyUpcomingStays/emptyUpcomingStays.module.css b/components/MyPages/Blocks/Stays/Soonest/EmptyUpcomingStays/emptyUpcomingStays.module.css index 9c9040d6a..438b06f54 100644 --- a/components/MyPages/Blocks/Stays/Soonest/EmptyUpcomingStays/emptyUpcomingStays.module.css +++ b/components/MyPages/Blocks/Stays/Soonest/EmptyUpcomingStays/emptyUpcomingStays.module.css @@ -1,27 +1,32 @@ .container { + display: grid; + grid-template-rows: 1fr min(50px); + background-color: var(--Base-Surface-Primary-Normal); + border-radius: var(--Corner-radius-Medium); + min-height: 250px; + margin-bottom: var(--Spacing-x-half); + overflow: hidden; +} + +.titleContainer { + display: flex; + justify-content: center; align-items: center; background-color: var(--Scandic-Brand-Pale-Peach); - border-radius: var(--Corner-radius-Medium); +} + +.title { display: flex; - gap: var(--Spacing-x9); flex-direction: column; - margin-bottom: var(--Spacing-x-half); - min-height: 250px; - justify-content: end; - overflow: hidden; + align-items: center; } .burgundyTitle { color: var(--Scandic-Brand-Burgundy); - display: block; - text-align: center; } .link { display: flex; justify-content: center; align-items: center; - width: 100%; - background-color: var(--Base-Surface-Primary-Normal); - padding: var(--Spacing-x-one-and-half) var(--Spacing-x0); } diff --git a/components/MyPages/Blocks/Stays/Soonest/EmptyUpcomingStays/index.tsx b/components/MyPages/Blocks/Stays/Soonest/EmptyUpcomingStays/index.tsx index 13e20c952..43f3b73c1 100644 --- a/components/MyPages/Blocks/Stays/Soonest/EmptyUpcomingStays/index.tsx +++ b/components/MyPages/Blocks/Stays/Soonest/EmptyUpcomingStays/index.tsx @@ -14,13 +14,14 @@ export default async function EmptyUpcomingStaysBlock({ lang }: LangParams) { const { formatMessage } = await getIntl() return (
- - {formatMessage({ id: "You have no upcoming stays." })} - <span className={styles.burgundyTitle}> - {" "} - {formatMessage({ id: "Where should you go next?" })} - </span> - +
+ + {formatMessage({ id: "You have no upcoming stays." })} + <span className={styles.burgundyTitle}> + {formatMessage({ id: "Where should you go next?" })} + </span> + +
- + diff --git a/components/MyPages/Blocks/Stays/StayCard/stay.module.css b/components/MyPages/Blocks/Stays/StayCard/stay.module.css index f14d9b04e..6e6b22158 100644 --- a/components/MyPages/Blocks/Stays/StayCard/stay.module.css +++ b/components/MyPages/Blocks/Stays/StayCard/stay.module.css @@ -37,8 +37,3 @@ display: flex; gap: var(--Spacing-x-half); } - -.icon { - height: 1.5rem; - width: 1.5rem; -} diff --git a/components/MyPages/Blocks/Stays/Upcoming/EmptyUpcomingStays/emptyUpcomingStays.module.css b/components/MyPages/Blocks/Stays/Upcoming/EmptyUpcomingStays/emptyUpcomingStays.module.css index 9c9040d6a..438b06f54 100644 --- a/components/MyPages/Blocks/Stays/Upcoming/EmptyUpcomingStays/emptyUpcomingStays.module.css +++ b/components/MyPages/Blocks/Stays/Upcoming/EmptyUpcomingStays/emptyUpcomingStays.module.css @@ -1,27 +1,32 @@ .container { + display: grid; + grid-template-rows: 1fr min(50px); + background-color: var(--Base-Surface-Primary-Normal); + border-radius: var(--Corner-radius-Medium); + min-height: 250px; + margin-bottom: var(--Spacing-x-half); + overflow: hidden; +} + +.titleContainer { + display: flex; + justify-content: center; align-items: center; background-color: var(--Scandic-Brand-Pale-Peach); - border-radius: var(--Corner-radius-Medium); +} + +.title { display: flex; - gap: var(--Spacing-x9); flex-direction: column; - margin-bottom: var(--Spacing-x-half); - min-height: 250px; - justify-content: end; - overflow: hidden; + align-items: center; } .burgundyTitle { color: var(--Scandic-Brand-Burgundy); - display: block; - text-align: center; } .link { display: flex; justify-content: center; align-items: center; - width: 100%; - background-color: var(--Base-Surface-Primary-Normal); - padding: var(--Spacing-x-one-and-half) var(--Spacing-x0); } diff --git a/components/MyPages/Blocks/Stays/Upcoming/EmptyUpcomingStays/index.tsx b/components/MyPages/Blocks/Stays/Upcoming/EmptyUpcomingStays/index.tsx index 595103bd8..4e1e5d6e8 100644 --- a/components/MyPages/Blocks/Stays/Upcoming/EmptyUpcomingStays/index.tsx +++ b/components/MyPages/Blocks/Stays/Upcoming/EmptyUpcomingStays/index.tsx @@ -14,13 +14,14 @@ export default async function EmptyUpcomingStaysBlock({ lang }: LangParams) { const { formatMessage } = await getIntl() return (
- - {formatMessage({ id: "You have no upcoming stays." })} - <span className={styles.burgundyTitle}> - {" "} - {formatMessage({ id: "Where will you go next?" })} - </span> - +
+ + {formatMessage({ id: "You have no upcoming stays." })} + <span className={styles.burgundyTitle}> + {formatMessage({ id: "Where will you go next?" })} + </span> + +