From cc7461bf3cfc54ddb6e4aafd4c63d9acd0c15d28 Mon Sep 17 00:00:00 2001 From: Chuma McPhoy Date: Tue, 7 Jan 2025 16:33:11 +0100 Subject: [PATCH] fix: update breadcrumbs styling for full width variants --- .../TempDesignSystem/Breadcrumbs/breadcrumbs.module.css | 6 +----- components/TempDesignSystem/Breadcrumbs/variants.ts | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/components/TempDesignSystem/Breadcrumbs/breadcrumbs.module.css b/components/TempDesignSystem/Breadcrumbs/breadcrumbs.module.css index 3d9d3b654..a0dfee42d 100644 --- a/components/TempDesignSystem/Breadcrumbs/breadcrumbs.module.css +++ b/components/TempDesignSystem/Breadcrumbs/breadcrumbs.module.css @@ -15,17 +15,13 @@ } .fullWidth .list { - max-width: var(--max-width-navigation); + max-width: var(--max-width-page); } .contentWidth .list { max-width: var(--max-width-content); } -.pageWidth .list { - max-width: var(--max-width-page); -} - .list { align-items: center; display: flex; diff --git a/components/TempDesignSystem/Breadcrumbs/variants.ts b/components/TempDesignSystem/Breadcrumbs/variants.ts index f839f37c2..826a1d3b7 100644 --- a/components/TempDesignSystem/Breadcrumbs/variants.ts +++ b/components/TempDesignSystem/Breadcrumbs/variants.ts @@ -11,7 +11,7 @@ export const breadcrumbsVariants = cva(styles.breadcrumbs, { [PageContentTypeEnum.contentPage]: styles.contentWidth, [PageContentTypeEnum.collectionPage]: styles.contentWidth, [PageContentTypeEnum.hotelPage]: styles.hotelHeaderWidth, - [PageContentTypeEnum.loyaltyPage]: styles.pageWidth, + [PageContentTypeEnum.loyaltyPage]: styles.fullWidth, default: styles.fullWidth, }, },