1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

remove top 5px padding from first inline radio/checkbox

This commit is contained in:
Mark Otto 2012-01-30 07:40:24 -08:00
parent 33a969dd0c
commit 9ba70796e2
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -627,7 +627,7 @@ input[type="hidden"] {
margin-left: 10px; margin-left: 10px;
} }
.controls > .radio.inline:first-child, .controls > .checkbox.inline:first-child { .controls > .radio.inline:first-child, .controls > .checkbox.inline:first-child {
padding-top: 5px; padding-top: 0;
} }
input, textarea { input, textarea {
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);

View file

@ -178,7 +178,7 @@ input[type="hidden"] {
// But don't forget to remove their padding on first-child // But don't forget to remove their padding on first-child
.controls > .radio.inline:first-child, .controls > .radio.inline:first-child,
.controls > .checkbox.inline:first-child { .controls > .checkbox.inline:first-child {
padding-top: 5px; // has to be padding because margin collaspes padding-top: 0;
} }