mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
remove padding from first-child of inline radios/checkboxes
This commit is contained in:
@@ -175,6 +175,11 @@ 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: 5px; // has to be padding because margin collaspes
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user