1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

height auto on mutli select

This commit is contained in:
Mark Otto 2012-01-25 11:51:13 -08:00
parent 06017b26ca
commit 86191d898b
3 changed files with 4 additions and 4 deletions

4
bootstrap.css vendored
View file

@ -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 {
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;

2
bootstrap.min.css vendored
View file

@ -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;}

View file

@ -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