fix: Added fullWidth property on button components to set them as full width

Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-12-16 14:37:10 +00:00
parent 1dce74c95f
commit d8c19c8917
10 changed files with 26 additions and 3 deletions

View File

@@ -37,6 +37,7 @@ export default async function ActivitiesSidePeek({
color="Primary"
size="Medium"
typography="Body/Paragraph/mdBold"
fullWidth
>
{sidepeekCTA}
</ButtonLink>

View File

@@ -72,6 +72,7 @@ export default async function MeetingsAndConferencesSidePeek({
size="Medium"
href={meetingPageHref}
typography="Body/Paragraph/mdBold"
fullWidth
>
{intl.formatMessage({
id: "common.readMore",

View File

@@ -33,6 +33,7 @@ export function RestaurantBarItemLinks({
href={bookTableUrl}
target="_blank"
onClick={() => trackClick("book a table", { restaurantName })}
fullWidth
>
{showDetailsLink
? intl.formatMessage({
@@ -52,6 +53,7 @@ export function RestaurantBarItemLinks({
size="Medium"
typography="Body/Paragraph/mdBold"
href={restaurantPageHref}
fullWidth
>
{intl.formatMessage(
{

View File

@@ -31,6 +31,7 @@ export default function PricesAndAvailabilityButton({
return (
<ButtonLink
href={selectRateURL}
fullWidth
onClick={() => {
trackPricesAndAvailabilityClick(
name,

View File

@@ -51,6 +51,7 @@ export default async function WellnessAndExerciseSidePeek({
variant="Tertiary"
color="Primary"
typography="Body/Paragraph/mdBold"
fullWidth
>
{spaPage.buttonCTA}
</ButtonLink>
@@ -61,6 +62,7 @@ export default async function WellnessAndExerciseSidePeek({
color="Primary"
variant="Secondary"
typography="Body/Paragraph/mdBold"
fullWidth
>
{intl.formatMessage({
id: "sidepeek.wellness.showGymAndWellness",