Commit 59b32586 authored by Mark Otto's avatar Mark Otto
Browse files

close #1628 to add padding to all inline checkboxes/radios

parent 91475c86
2 merge requests!1882[2.0.1-wip] black/dark button,!1894[2.0.1 wip] -- fixing Issue #1893 - removing hardcoded color border from <hr/>
Showing with 3 additions and 8 deletions
+3 -8
No preview for this file type
......@@ -625,15 +625,13 @@ input[type="hidden"] {
}
.radio.inline, .checkbox.inline {
display: inline-block;
padding-top: 5px;
margin-bottom: 0;
vertical-align: middle;
}
.radio.inline + .radio.inline, .checkbox.inline + .checkbox.inline {
margin-left: 10px;
}
.controls > .radio.inline:first-child, .controls > .checkbox.inline:first-child {
padding-top: 0;
}
input, textarea {
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
......
......@@ -166,9 +166,11 @@ input[type="hidden"] {
}
// Radios and checkboxes on same line
// TODO v3: Convert .inline to .control-inline
.radio.inline,
.checkbox.inline {
display: inline-block;
padding-top: 5px;
margin-bottom: 0;
vertical-align: middle;
}
......@@ -176,11 +178,6 @@ input[type="hidden"] {
.checkbox.inline + .checkbox.inline {
margin-left: 10px; // space out consecutive inline controls
}
// But don't forget to remove their padding on first-child
.controls > .radio.inline:first-child,
.controls > .checkbox.inline:first-child {
padding-top: 0;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment