form: increase spacing between fields

This commit is contained in:
Pierre de La Morinerie 2020-02-10 15:59:36 +01:00
parent 58b4c2e53b
commit 00b1eaff41
2 changed files with 11 additions and 3 deletions

View file

@ -3,7 +3,7 @@ $small-page-width: 840px;
$default-spacer: 8px;
$default-padding: 2 * $default-spacer;
$default-fields-spacer: 4 * $default-spacer;
$default-fields-spacer: 5 * $default-spacer;
// layouts
$two-columns-padding: 60px;

View file

@ -86,6 +86,14 @@
left: 0px;
}
}
// When the (eventual) notice is displayed after the input, give it some bottom margin
&.editable-champ-checkbox,
&.editable-champ-engagement {
.notice {
margin-bottom: $default-fields-spacer;
}
}
}
.radios {
@ -307,7 +315,7 @@
display: inline-block;
color: $blue;
font-size: 30px;
margin-bottom: $default-fields-spacer;
margin-bottom: 3 * $default-padding;
border-bottom: 3px solid $blue;
}
@ -318,7 +326,7 @@
}
.explication {
margin-bottom: $default-padding;
margin-bottom: $default-fields-spacer;
padding: $default-padding / 2;
background-color: $light-grey;