Skip to content

Commit

Permalink
fix: Fix GH-594 and GH-727 Bring non-namespaced css selectors under .…
Browse files Browse the repository at this point in the history
…rendered-form
  • Loading branch information
lucasnetau committed Oct 5, 2023
1 parent da89a92 commit 0caf26e
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/sass/form-render.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,35 @@
label {
font-weight: normal;
}
}

.form-group .formbuilder-required {
color: $error;
}

.other-option:checked + label {
input {
display: inline-block;
.form-group .formbuilder-required {
color: $error;
}
}

.other-val {
margin-left: 5px;
display: none;
}

.form-control {
&.number {
width: auto;
.other-option:checked + label {
input {
display: inline-block;
}
}

&[type='color'] {
width: 60px;
padding: 2px;
display: inline-block;
.other-val {
margin-left: 5px;
display: none;
}

&[multiple] {
height: auto;
.form-control {
&.number {
width: auto;
}

&[type='color'] {
width: 60px;
padding: 2px;
display: inline-block;
}

&[multiple] {
height: auto;
}
}
}
}

0 comments on commit 0caf26e

Please sign in to comment.