From 896403da6968557d37fde0603aa79342c679f0d6 Mon Sep 17 00:00:00 2001 From: Aram Limpens Date: Fri, 15 Dec 2023 14:15:09 +0100 Subject: [PATCH] Use rems for checkbox underline --- packages/css/src/components/checkbox/checkbox.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/css/src/components/checkbox/checkbox.scss b/packages/css/src/components/checkbox/checkbox.scss index 974a0bbcf0..c74d8fc171 100644 --- a/packages/css/src/components/checkbox/checkbox.scss +++ b/packages/css/src/components/checkbox/checkbox.scss @@ -53,9 +53,9 @@ &:hover { color: var(--amsterdam-checkbox-hover-color); - text-decoration: underline; - text-decoration-thickness: 2px; - text-underline-offset: 3px; + text-decoration-line: underline; + text-decoration-thickness: 0.125rem; + text-underline-offset: 0.375rem; .amsterdam-checkbox__checkmark::after { border-color: var(--amsterdam-checkbox-checkmark-hover-border-color);