mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
ui: snapshots: Fix horizontal form layout on mobiles 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
319d414c2e
commit
20db62bc22
@ -157,6 +157,23 @@ h6:not(:first-child) {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* In Bootstrap 5, instead of styling .col-* to 100% width by default, .row > *
|
||||
is styled as .form-group has been removed. Needs updated
|
||||
django-bootstrap-form */
|
||||
.form-horizontal > .form-group > * {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.form-horizontal > .form-group > .col-md-4 {
|
||||
width: 33.33333333%;
|
||||
}
|
||||
|
||||
.form-horizontal > .form-group > .col-md-8 {
|
||||
width: 66.66666667%;
|
||||
}
|
||||
}
|
||||
|
||||
.radio .help-block {
|
||||
padding-left: 1.2rem;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user