]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #4358: make select elements 30px tall to match inputs
authorMark Otto <markotto@twitter.com>
Tue, 14 Aug 2012 21:57:49 +0000 (14:57 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 14 Aug 2012 21:57:49 +0000 (14:57 -0700)
docs/assets/css/bootstrap.css
less/forms.less

index fb69a19ba6727f3d11cbbc8b309b9cbe63d86aa8..f22d2824d70f2be4850dc5a791c3427301dec40c 100644 (file)
@@ -943,6 +943,7 @@ input[type="color"],
   font-size: 14px;
   line-height: 20px;
   color: #555555;
+  vertical-align: middle;
   -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
           border-radius: 3px;
@@ -1031,13 +1032,13 @@ input[type="checkbox"] {
 
 select,
 input[type="file"] {
-  height: 28px;
+  height: 30px;
   /* 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: 28px;
+  line-height: 30px;
 }
 
 select {
index 0b3f10cb062a5c68aae7861584b2df8ec80de82e..852f0bb6bed61805b56b10f062c4cf44cb29a961 100644 (file)
@@ -151,9 +151,9 @@ input[type="checkbox"] {
 // Set the height of select and file controls to match text inputs
 select,
 input[type="file"] {
-  height: 28px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
+  height: 30px; /* 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: 28px;
+  line-height: 30px;
 }
 
 // Make select elements obey height by applying a border