0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

reset line-height for file input in ie9

This commit is contained in:
Mark Otto 2012-02-11 20:00:44 -08:00
parent 5bb55e4615
commit 158419c045
3 changed files with 8 additions and 0 deletions

Binary file not shown.

View File

@ -603,6 +603,9 @@ select, input[type="file"] {
line-height: 28px;
}
input[type="file"] {
line-height: 18px \9;
}
select {
width: 220px;
background-color: #ffffff;

View File

@ -122,6 +122,11 @@ input[type="file"] {
line-height: 28px;
}
// Reset line-height for IE
input[type="file"] {
line-height: 18px \9;
}
// Chrome on Linux and Mobile Safari need background-color
select {
width: 220px; // default input width + 10px of padding that doesn't get applied