aboutsummaryrefslogtreecommitdiff
path: root/lib/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-25 12:04:19 -0800
committerMark Otto <[email protected]>2012-01-25 12:04:19 -0800
commit2b2c72b9aae6db9505d0fdb3abc1832de8e0ce7f (patch)
treebf800466ac8c70a2fe67a22a43923febb243c0ee /lib/forms.less
parent86191d898b2520611b537892e33be3b179f83199 (diff)
downloadbootstrap-2b2c72b9aae6db9505d0fdb3abc1832de8e0ce7f.tar.xz
bootstrap-2b2c72b9aae6db9505d0fdb3abc1832de8e0ce7f.zip
fix select alignment and height
Diffstat (limited to 'lib/forms.less')
-rw-r--r--lib/forms.less6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/forms.less b/lib/forms.less
index 355a33a30..7451f36ef 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -103,15 +103,15 @@ input[type=submit] {
// Set the height of select and file controls to match text inputs
select,
input[type=file] {
- height: @baseLineHeight * 1.5; /* In IE7, the height of the select element cannot be changed by height, only font-size */
+ height: 28px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
*margin-top: 4px; /* For IE7, add top margin to align select with labels */
- line-height: @baseLineHeight * 1.5;
+ line-height: 28px;
}
// Chrome on Linux and Mobile Safari need background-color
select {
width: 220px; // default input width + 10px of padding that doesn't get applied
- vertical-align: middle;
+ vertical-align: baseline;
background-color: @white;
}