From 88e710f86b9be56c95896660c4e52438cb6b25f8 Mon Sep 17 00:00:00 2001 From: HeleneKassandra Date: Wed, 31 Jan 2024 16:35:59 +0100 Subject: [PATCH] =?UTF-8?q?fix(ffe-cards):=20fix=20styling=20s=C3=A5=20det?= =?UTF-8?q?=20funker=20med=20svg=20ikoner?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ffe-cards/less/icon-card.less | 4 +--- packages/ffe-cards/less/stippled-card.less | 5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/ffe-cards/less/icon-card.less b/packages/ffe-cards/less/icon-card.less index 9776e4bd9a..613785c3d2 100644 --- a/packages/ffe-cards/less/icon-card.less +++ b/packages/ffe-cards/less/icon-card.less @@ -10,9 +10,8 @@ padding: @ffe-spacing-md; min-height: 130px; - &__icon { + & > &__icon { color: var(--ffe-v-cards-icon-color); - font-size: 3rem; margin: 0 @ffe-spacing-lg 0 @ffe-spacing-xs; } @@ -29,7 +28,6 @@ } .ffe-icon-card__icon { - font-size: 2rem; margin: 0 var(--ffe-spacing-sm) 0 0; } } diff --git a/packages/ffe-cards/less/stippled-card.less b/packages/ffe-cards/less/stippled-card.less index d3eb27d9f7..76f470e80d 100644 --- a/packages/ffe-cards/less/stippled-card.less +++ b/packages/ffe-cards/less/stippled-card.less @@ -27,10 +27,10 @@ } } -.ffe-stippled-card__img--icon { +.ffe-stippled-card__img--icon, +.ffe-stippled-card__img--icon > .ffe-icons { margin: 0 @ffe-spacing-md 0 @ffe-spacing-xs; color: var(--ffe-v-cards-icon-color); - font-size: 3rem; } .ffe-stippled-card--condensed { @@ -39,6 +39,5 @@ .ffe-stippled-card--condensed .ffe-stippled-card__img--icon { margin: 0 @ffe-spacing-2xs 0 0; - font-size: 2rem; color: var(--ffe-v-cards-icon-color); }