style(form): don't cumulate vertical margins with fieldset and inlined elements

This commit is contained in:
Colin Darie 2023-10-09 13:03:56 +02:00
parent 5ea7c15251
commit 22a2188917
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -49,6 +49,11 @@
margin-top: 0 !important;
}
// Don't cumulate margin-bottoms for inlined elements (radio...), because .fr-fieldset has already its own
.fr-fieldset__element > .fr-fieldset > .fr-fieldset__element.fr-fieldset__element--inline {
margin-bottom: 0;
}
legend {
width: 100%;
}