ui: Restore spacing between form elements in Bootstrap 5

- Styling for form-group has been removed in 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 2024-11-17 09:21:02 -08:00 committed by Veiko Aasa
parent 95c6a92ec3
commit 72bd565c6c
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

@ -173,6 +173,12 @@ label {
margin-bottom: 0.5rem;
}
/* Form group has been removed in Bootstrap 5, need updated
django-bootstrap-form */
.form-group {
margin-bottom: 1rem;
}
/* Form error display was changed in bootstrap 4, provide compatibility */
.has-error .help-block,
.has-error .control-label,