Skip to content

Commit

Permalink
⚰️ [#571] Delete obsolete CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Oct 23, 2023
1 parent 7ac058d commit 678a20a
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions src/scss/components/_formio-component.scss
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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,
Expand All @@ -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;
}
}

0 comments on commit 678a20a

Please sign in to comment.