0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01: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;
}
.controls > .radio.inline:first-child, .controls > .checkbox.inline:first-child {
padding-top: 5px;
padding-top: 0;
}
input, textarea {
-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
.controls > .radio.inline:first-child,
.controls > .checkbox.inline:first-child {
padding-top: 5px; // has to be padding because margin collaspes
padding-top: 0;
}