Better spacing between form elements

+ Revert better alignement for checkboxes & radios (#07d19a8)
This commit is contained in:
Lucas 2020-09-25 00:45:44 +07:00
parent 07d19a8673
commit 6f260e9b74
11 changed files with 28 additions and 28 deletions

View file

@ -129,14 +129,11 @@ fieldset {
border: 0;
}
// Spacing beteen label and input
$spacing-label-input: $spacing-typography/12;
// Label & legend
label,
fieldset legend {
display: block;
margin-bottom: $spacing-label-input;
margin-bottom: $spacing-form-elements;
vertical-align: middle;
}
@ -289,6 +286,6 @@ label {
& > input,
& > select,
& > textarea {
margin-top: $spacing-label-input;
margin-top: $spacing-form-elements;
}
}