From 678a20ada8ccec6102bf14ed3091a8cf4053dba5 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Mon, 23 Oct 2023 13:05:01 +0200 Subject: [PATCH] :coffin: [#571] Delete obsolete CSS --- src/scss/components/_formio-component.scss | 24 +--------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/src/scss/components/_formio-component.scss b/src/scss/components/_formio-component.scss index 3a0732bfb..b923d0163 100644 --- a/src/scss/components/_formio-component.scss +++ b/src/scss/components/_formio-component.scss @@ -1,4 +1,3 @@ -@use 'microscope-sass/lib/bem'; @use '@utrecht/components/form-field/css/mixin' as form-field; @use '@utrecht/components/form-fieldset/css/mixin' as form-fieldset; @@ -8,7 +7,7 @@ // These styles are required because form.io doesn't re-render with new classnames, // instead it looks up the component ref and then adds the validation error classnames. -// The (direct) child inside this node are the utrecht components that need to gain +// The (direct) child inside this node is the utrecht component that need to get // the validation-error styles, so we use sass extend and include to achieve that. [ref='component'] { &.has-error, @@ -30,24 +29,3 @@ .field-required:after { all: revert; } - -.#{prefix(form-control)} { - .#{prefix(body)} { - display: block; - - &--inline { - display: inline-block; - margin-block-start: 0; - } - } - - .group { - display: flex; - align-items: center; - } - - // Overwriting Formio style - .control-label--hidden { - position: static !important; - } -}