1
0
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:
Shohei Yoshida 2019-06-06 00:15:27 +09:00 committed by XhmikosR
parent 8437be2f33
commit 1c510ddaec

View File

@ -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