mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 18:40:03 +00:00
Make generating form row styles dependent on $enable-grid-classes (#28870)
This commit is contained in:
parent
8437be2f33
commit
1c510ddaec
@ -181,6 +181,7 @@ textarea.form-control {
|
|||||||
//
|
//
|
||||||
// Special replacement for our grid system's `.row` for tighter form layouts.
|
// Special replacement for our grid system's `.row` for tighter form layouts.
|
||||||
|
|
||||||
|
@if $enable-grid-classes {
|
||||||
.form-row {
|
.form-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@ -193,6 +194,7 @@ textarea.form-control {
|
|||||||
padding-left: $form-grid-gutter-width / 2;
|
padding-left: $form-grid-gutter-width / 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Checkboxes and radios
|
// Checkboxes and radios
|
||||||
|
Loading…
x
Reference in New Issue
Block a user