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; -}