From fa4f2dc7eb9a98fbcec66f4fbe1f5bf061f7a51a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20Bj=C3=B6rkqvist?= Date: Tue, 27 Aug 2024 13:29:43 +0200 Subject: [PATCH] font-heading-xs is only applied to elements in #app now --- public/css/_shared.scss | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/public/css/_shared.scss b/public/css/_shared.scss index e3581ddc..b1dda206 100644 --- a/public/css/_shared.scss +++ b/public/css/_shared.scss @@ -16,6 +16,12 @@ } } } + label:has(+ .form-group), + label:has(+ input) { + @include typography.font-heading-xs; + display: block; + margin-bottom: 0.25rem; + } } #mainContent { @@ -159,10 +165,3 @@ p { .select-wrapper::after { background-color: var(--color-primary); } - -label:has(+ .form-group), -label:has(+ input) { - @include typography.font-heading-xs; - display: block; - margin-bottom: 0.25rem; -}