mirror of
https://github.com/jasny/bootstrap.git
synced 2026-04-24 03:00:49 -04:00
Makes inputs and buttons align middle so they line up in all browsers
This commit is contained in:
@@ -66,9 +66,9 @@
|
||||
.btn {
|
||||
// Button Base
|
||||
display: inline-block;
|
||||
padding: 5px 10px 6px;
|
||||
padding: 4px 10px 4px;
|
||||
font-size: @baseFontSize;
|
||||
line-height: normal;
|
||||
line-height: @baseLineHeight;
|
||||
color: @grayDark;
|
||||
text-shadow: 0 1px 1px rgba(255,255,255,.75);
|
||||
#gradient > .vertical-three-colors(@white, @white, 25%, darken(@white, 10%)); // Don't use .gradientbar() here since it does a three-color gradient
|
||||
@@ -129,8 +129,9 @@
|
||||
.border-radius(5px);
|
||||
}
|
||||
&.small {
|
||||
padding: 7px 9px 7px;
|
||||
padding: 5px 9px 5px;
|
||||
font-size: @baseFontSize - 2px;
|
||||
line-height: @baseLineHeight - 2px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user