fix: Added fullWidth property on button components to set them as full width
Approved-by: Matilda Landström
This commit is contained in:
@@ -37,6 +37,7 @@ export default async function ActivitiesSidePeek({
|
||||
color="Primary"
|
||||
size="Medium"
|
||||
typography="Body/Paragraph/mdBold"
|
||||
fullWidth
|
||||
>
|
||||
{sidepeekCTA}
|
||||
</ButtonLink>
|
||||
|
||||
@@ -72,6 +72,7 @@ export default async function MeetingsAndConferencesSidePeek({
|
||||
size="Medium"
|
||||
href={meetingPageHref}
|
||||
typography="Body/Paragraph/mdBold"
|
||||
fullWidth
|
||||
>
|
||||
{intl.formatMessage({
|
||||
id: "common.readMore",
|
||||
|
||||
@@ -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(
|
||||
{
|
||||
|
||||
@@ -31,6 +31,7 @@ export default function PricesAndAvailabilityButton({
|
||||
return (
|
||||
<ButtonLink
|
||||
href={selectRateURL}
|
||||
fullWidth
|
||||
onClick={() => {
|
||||
trackPricesAndAvailabilityClick(
|
||||
name,
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user