mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
move from .gutters-sm to .form-row to be super explicit about intended use case
This commit is contained in:
parent
21b874d19d
commit
7e5085b407
2 changed files with 18 additions and 12 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue