1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 18:14:17 +02:00

update classes for inline form to new checkbox options

This commit is contained in:
Mark Otto
2016-05-08 23:14:48 -07:00
parent 707903c60c
commit f5d889c385

View File

@@ -336,19 +336,16 @@ select.form-control-lg {
// Remove default margin on radios/checkboxes that were used for stacking, and // Remove default margin on radios/checkboxes that were used for stacking, and
// then undo the floating of radios and checkboxes to match. // then undo the floating of radios and checkboxes to match.
.radio, .form-check {
.checkbox {
display: inline-block; display: inline-block;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
vertical-align: middle; vertical-align: middle;
label {
padding-left: 0;
}
} }
.radio input[type="radio"], .form-check-label {
.checkbox input[type="checkbox"] { padding-left: 0;
}
.form-check-input {
position: relative; position: relative;
margin-left: 0; margin-left: 0;
} }