diff options
| author | Pete Hopkins <[email protected]> | 2012-01-26 16:02:27 -0500 |
|---|---|---|
| committer | Pete Hopkins <[email protected]> | 2012-01-26 16:14:54 -0500 |
| commit | b9413460afe2bdfac18889953447622d13eb1968 (patch) | |
| tree | af17776ef398f958f341ced9f6f50f25d33b9e8e /lib/buttons.less | |
| parent | f76444c8585f3a720e0af2cedd33acddc718b962 (diff) | |
| download | bootstrap-b9413460afe2bdfac18889953447622d13eb1968.tar.xz bootstrap-b9413460afe2bdfac18889953447622d13eb1968.zip | |
Makes inputs and buttons align middle so they line up in all browsers
Diffstat (limited to 'lib/buttons.less')
| -rw-r--r-- | lib/buttons.less | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/buttons.less b/lib/buttons.less index cebacd049..240e117e2 100644 --- a/lib/buttons.less +++ b/lib/buttons.less @@ -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; } } |
