Commit 86191d89 authored by Mark Otto's avatar Mark Otto
Browse files

height auto on mutli select

parent 06017b26
Showing with 4 additions and 4 deletions
+4 -4
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0 * http://www.apache.org/licenses/LICENSE-2.0
* *
* Designed and built with all the love in the world @twitter by @mdo and @fat. * Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Wed Jan 25 11:47:25 PST 2012 * Date: Wed Jan 25 11:50:14 PST 2012
*/ */
article, article,
aside, aside,
...@@ -555,7 +555,7 @@ select { ...@@ -555,7 +555,7 @@ select {
background-color: #ffffff; background-color: #ffffff;
} }
select[multiple], select[size] { select[multiple], select[size] {
height: inherit; height: auto;
} }
input[type=image] { input[type=image] {
-webkit-box-shadow: none; -webkit-box-shadow: none;
......
...@@ -101,7 +101,7 @@ input[type=file]{padding:initial;line-height:initial;border:initial;background-c ...@@ -101,7 +101,7 @@ input[type=file]{padding:initial;line-height:initial;border:initial;background-c
input[type=button],input[type=reset],input[type=submit]{width:auto;height:auto;} 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,input[type=file]{height:27px;*margin-top:4px;line-height:27px;}
select{width:220px;vertical-align:middle;background-color:#ffffff;} select{width:220px;vertical-align:middle;background-color:#ffffff;}
select[multiple],select[size]{height:inherit;} select[multiple],select[size]{height:auto;}
input[type=image]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} input[type=image]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
textarea{height:auto;} textarea{height:auto;}
.radio,.checkbox{padding-left:18px;} .radio,.checkbox{padding-left:18px;}
......
...@@ -118,7 +118,7 @@ select { ...@@ -118,7 +118,7 @@ select {
// Make multiple select elements height not fixed // Make multiple select elements height not fixed
select[multiple], select[multiple],
select[size] { select[size] {
height: inherit; height: auto;
} }
// Remove shadow from image inputs // Remove shadow from image inputs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment