move from .gutters-sm to .form-row to be super explicit about intended use case

This commit is contained in:
Mark Otto 2017-06-13 22:11:29 -07:00
parent 21b874d19d
commit 7e5085b407
2 changed files with 18 additions and 12 deletions

View File

@ -193,6 +193,24 @@ select.form-control-lg {
}
// Form grid
//
// Special replacement for our grid system's `.row` for tighter form layouts.
.form-row {
display: flex;
flex-wrap: wrap;
margin-right: -5px;
margin-left: -5px;
> .col,
> [class*="col-"] {
padding-right: 5px;
padding-left: 5px;
}
}
// Checkboxes and radios
//
// Indent the labels to position radios/checkboxes as hanging controls.

View File

@ -42,18 +42,6 @@
padding-left: 0;
}
}
// Optionally tighten the gutters between columns
.gutters-sm {
margin-right: -5px;
margin-left: -5px;
> .col,
> [class*="col-"] {
padding-right: 5px;
padding-left: 5px;
}
}
}
// Columns