aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-24 12:28:20 -0800
committerMark Otto <[email protected]>2012-01-24 12:28:20 -0800
commite829001e5cb488a7708878b074205fc41e82fc82 (patch)
tree2f3fb6428fe66800be7a0ec3740c510be8e8fe29
parent72861dfbf2759d6ea51ee557def37f85fb5f647d (diff)
downloadbootstrap-e829001e5cb488a7708878b074205fc41e82fc82.tar.xz
bootstrap-e829001e5cb488a7708878b074205fc41e82fc82.zip
attempt to fix select list alignment in Firefox by removing padding. not quite fixed 100%, but getting there.
-rw-r--r--bootstrap.css3
-rw-r--r--bootstrap.min.css2
-rw-r--r--lib/forms.less1
3 files changed, 2 insertions, 4 deletions
diff --git a/bootstrap.css b/bootstrap.css
index ee88e9d4c..71d942401 100644
--- a/bootstrap.css
+++ b/bootstrap.css
@@ -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;
}
diff --git a/bootstrap.min.css b/bootstrap.min.css
index 563efd8fa..f0412c724 100644
--- a/bootstrap.min.css
+++ b/bootstrap.min.css
@@ -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;}
diff --git a/lib/forms.less b/lib/forms.less
index be53c60cb..1f424abaa 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -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;
}