2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-30 15:24:08 +03:00

Fixes #8795, a reoccurence of #1969

This commit is contained in:
Mark Otto
2013-08-05 11:47:12 -07:00
parent d0d8ab8364
commit a82ca0f9e1
3 changed files with 25 additions and 1 deletions
+10
View File
@@ -290,10 +290,20 @@ textarea {
.checkbox {
display: inline-block;
}
// Remove default margin on radios/checkboxes that were used for stacking, and
// then undo the floating of radios and checkboxes to match (which also avoids
// a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).
.radio,
.checkbox {
margin-top: 0;
margin-bottom: 0;
padding-left: 0;
}
.radio input[type="radio"],
.checkbox input[type="checkbox"] {
float: none;
margin-left: 0;
}
}