Skip to content

Commit

Permalink
simplify fieldset CSS reset
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnbot committed Sep 30, 2020
1 parent cbccac3 commit 6391031
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions src/scss/forms/_fieldsets.scss
@@ -1,27 +1,21 @@
fieldset {
.fieldset-body {
margin: 0 -15px 40px;
padding: 15px 15px 1px;
border-radius: radius(1);
border: 0;
margin: 0;
padding: 0.01em 0 0 0;
min-width: 0;

legend {
display: table;
padding: 0;
}

label {
font-size: 16px;
line-height: 1;
}

.formio-component {
margin-bottom: 20px;

&.row {
margin-bottom: 0;
}
}
}

.formio-component-radio {
fieldset label {
letter-spacing: 0;
line-height: 24px;
}
}

0 comments on commit 6391031

Please sign in to comment.