From 2aff89b8f47b841b45eb798f2dd131b2072b2e7d Mon Sep 17 00:00:00 2001 From: Peter Hellstrand Date: Mon, 2 Dec 2024 14:57:43 +0100 Subject: [PATCH] fix(ffe-form): z-index isolation on checkbox and radio --- packages/ffe-form/less/checkbox.less | 1 + packages/ffe-form/less/radio-button.less | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/ffe-form/less/checkbox.less b/packages/ffe-form/less/checkbox.less index 5563b39cf1..ed9a2bbf6b 100644 --- a/packages/ffe-form/less/checkbox.less +++ b/packages/ffe-form/less/checkbox.less @@ -6,6 +6,7 @@ --square-background-color: var(--ffe-v-input-bg-color); --checkmark-color: transparent; + isolation: isolate; line-height: var(--line-height); display: grid; grid-column-gap: var(--ffe-spacing-xs); diff --git a/packages/ffe-form/less/radio-button.less b/packages/ffe-form/less/radio-button.less index 7011202f45..d9f93d8c1b 100644 --- a/packages/ffe-form/less/radio-button.less +++ b/packages/ffe-form/less/radio-button.less @@ -3,6 +3,7 @@ --outer-circle-color: var(--ffe-g-border-color); --inner-circle-color: var(--ffe-v-input-bg-color); + isolation: isolate; line-height: var(--line-height); overflow-wrap: anywhere; font-family: var(--ffe-g-font);