]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
attempt to fix select list alignment in Firefox by removing padding. not quite fixed...
authorMark Otto <markdotto@gmail.com>
Tue, 24 Jan 2012 20:28:20 +0000 (12:28 -0800)
committerMark Otto <markdotto@gmail.com>
Tue, 24 Jan 2012 20:28:20 +0000 (12:28 -0800)
bootstrap.css
bootstrap.min.css
lib/forms.less

index ee88e9d4c666b65642cff912a070469bbcc6cab1..71d94240117bc4cdff11f07ac34c2e269bb31154 100644 (file)
@@ -6,7 +6,7 @@
  * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Tue Jan 24 10:45:20 PST 2012
+ * Date: Tue Jan 24 12:27:30 PST 2012
  */
 article,
 aside,
@@ -537,7 +537,6 @@ select, input[type=file] {
 }
 select {
   width: 220px;
-  padding: 0;
   vertical-align: middle;
   background-color: #ffffff;
 }
index 563efd8fa96d0f794a3e9e7fb246f10249bedbf8..f0412c724d70e464f969a9bf6c676888329da55e 100644 (file)
@@ -98,7 +98,7 @@ input[type=image],input[type=checkbox],input[type=radio]{width:auto;height:auto;
 input[type=file]{padding:initial;line-height:initial;border:initial;background-color:#ffffff;background-color:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
 input[type=button],input[type=reset],input[type=submit]{width:auto;height:auto;}
 select,input[type=file]{height:27px;*margin-top:4px;line-height:27px;}
-select{width:220px;padding:0;vertical-align:middle;background-color:#ffffff;}
+select{width:220px;vertical-align:middle;background-color:#ffffff;}
 select[multiple],select[size]{height:inherit;}
 input[type=image]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
 textarea{height:auto;}
index be53c60cbcfafc2937c3dcc799e9dd7bc6febf7c..1f424abaae528e70643c10448fcda60fb1b8c55d 100644 (file)
@@ -107,7 +107,6 @@ input[type=file] {
 // Chrome on Linux and Mobile Safari need background-color
 select {
   width: 220px; // default input width + 10px of padding that doesn't get applied
-  padding: 0;
   vertical-align: middle;
   background-color: @white;
 }