From 72bd565c6c98c0a0072dd7af0ae3424bfe720434 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 17 Nov 2024 09:21:02 -0800 Subject: [PATCH] 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 Reviewed-by: Veiko Aasa --- static/themes/default/css/main.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/themes/default/css/main.css b/static/themes/default/css/main.css index c5e55f5a8..806b202e1 100644 --- a/static/themes/default/css/main.css +++ b/static/themes/default/css/main.css @@ -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,