ui: forms: Fix margins for form labels for Bootstrap 5

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa authored and Veiko Aasa committed 2024-12-12 12:54:49 +02:00
1 parent adc615bc32
commit c898e4e3bf
1 file changed
+6
+6
View File
@@ -167,6 +167,12 @@ h6:not(:first-child) {
padding-left: 1.4rem;
}
/* label styling moved to .form-label in Bootstrap 5, needs updated
django-bootstrap-form */
label {
margin-bottom: 0.5rem;
}
/* Form error display was changed in bootstrap 4, provide compatibility */
.has-error .help-block,
.has-error .control-label,