From 74001fe76460ec27142285c0e0c3c89db7d08e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matilda=20Landstr=C3=B6m?= Date: Wed, 19 Jun 2024 15:00:53 +0200 Subject: [PATCH] refactor: remove unused code --- .../BenefitList/benefitList.module.css | 33 ------------------- .../OverviewTable/BenefitList/index.tsx | 2 -- .../BenefitValue/benefitValue.module.css | 2 +- .../LargeTable/largeTable.module.css | 4 +-- .../OverviewTable/overviewTable.module.css | 1 - 5 files changed, 3 insertions(+), 39 deletions(-) diff --git a/components/Loyalty/Blocks/DynamicContent/OverviewTable/BenefitList/benefitList.module.css b/components/Loyalty/Blocks/DynamicContent/OverviewTable/BenefitList/benefitList.module.css index 2c0d01c4b..1b008ba50 100644 --- a/components/Loyalty/Blocks/DynamicContent/OverviewTable/BenefitList/benefitList.module.css +++ b/components/Loyalty/Blocks/DynamicContent/OverviewTable/BenefitList/benefitList.module.css @@ -7,41 +7,8 @@ padding-top: 0; } -.firstColumn { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 50%; - z-index: 1; -} - -.secondColumn { - position: absolute; - position: absolute; - top: 0; - bottom: 0; - margin-bottom: calc(var(--Spacing-x2) * -1); - left: 50%; - right: 0; - z-index: 1; - border-top-left-radius: var(--Corner-radius-Medium); -} - @media screen and (min-width: 950px) { .benefitCardWrapper { grid-column: 1/4; } - - .firstColumn { - width: calc((100%) / 3); - right: calc(100% / 3 * 2); - margin-left: 0; - } - - .secondColumn { - width: calc(100% / 3); - left: calc(100% / 3); - right: calc(100% / 3); - } } diff --git a/components/Loyalty/Blocks/DynamicContent/OverviewTable/BenefitList/index.tsx b/components/Loyalty/Blocks/DynamicContent/OverviewTable/BenefitList/index.tsx index 6e3fb3c86..d60dfcf9b 100644 --- a/components/Loyalty/Blocks/DynamicContent/OverviewTable/BenefitList/index.tsx +++ b/components/Loyalty/Blocks/DynamicContent/OverviewTable/BenefitList/index.tsx @@ -24,8 +24,6 @@ export default function BenefitList({ levels }: BenefitListProps) { const levelBenefits = levels.map((level) => level.benefits[idx]) return (
-
-