1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-19 11:51:23 +02: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.
@if $enable-grid-classes {
.form-row {
display: flex;
flex-wrap: wrap;
@@ -193,6 +194,7 @@ textarea.form-control {
padding-left: $form-grid-gutter-width / 2;
}
}
}
// Checkboxes and radios