2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Fix #20936 make inline checkbox/radio markup same as stacked (#20995)

* #20936 make inline checkbox/radio markup same as stacked

* tweak language and remove extra blank line in snippet
This commit is contained in:
Brad Kent
2016-11-28 22:56:49 -06:00
committed by Mark Otto
parent af937836d9
commit 8250bd1b21
3 changed files with 36 additions and 32 deletions
+4 -10
View File
@@ -235,21 +235,15 @@ select.form-control-lg {
// Radios and checkboxes on same line
.form-check-inline {
position: relative;
display: inline-block;
padding-left: 1.25rem;
margin-bottom: 0; // Override default `<label>` bottom margin
vertical-align: middle;
cursor: pointer;
.form-check-label {
vertical-align: middle;
}
+ .form-check-inline {
margin-left: .75rem;
}
&.disabled {
color: $text-muted;
cursor: $cursor-disabled;
}
}
-1
View File
@@ -9,7 +9,6 @@
.form-control-label,
.col-form-label,
.form-check-label,
.form-check-inline,
.custom-control {
color: $color;
}