mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
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:
parent
adc615bc32
commit
c898e4e3bf
@ -167,6 +167,12 @@ h6:not(:first-child) {
|
|||||||
padding-left: 1.4rem;
|
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 */
|
/* Form error display was changed in bootstrap 4, provide compatibility */
|
||||||
.has-error .help-block,
|
.has-error .help-block,
|
||||||
.has-error .control-label,
|
.has-error .control-label,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user