From b76b0fe45c027aee11de1fefa2b6d43661123e46 Mon Sep 17 00:00:00 2001 From: HeleneKassandra Date: Tue, 2 Jul 2024 13:23:05 +0200 Subject: [PATCH] fix(ffe-buttons): endre line-height i basebutton --- packages/ffe-buttons/less/base-button.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ffe-buttons/less/base-button.less b/packages/ffe-buttons/less/base-button.less index 352db99787..361f5a609e 100644 --- a/packages/ffe-buttons/less/base-button.less +++ b/packages/ffe-buttons/less/base-button.less @@ -8,9 +8,9 @@ display: flex; font-family: var(--ffe-g-font); justify-content: center; - line-height: 24px; + line-height: 1.2; overflow: hidden; - padding: @ffe-spacing-xs @ffe-spacing-md; + padding: calc(var(--ffe-spacing-xs) + 2px) var(--ffe-spacing-md); // The + 2px is ensure button is 44px after we made a change to line-height. position: relative; text-align: center; text-decoration: none;