mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 06:44:35 +02:00
Update file input to remove height and line-height
This particular form control is wildly inaccurate across browsers, so we're removing the `height` and `line-height`, but adding `display: block` so it renders similarly to our other inputs.
This commit is contained in:
5
dist/css/bootstrap.css
vendored
5
dist/css/bootstrap.css
vendored
@@ -1474,10 +1474,7 @@ input[type="checkbox"] {
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
height: 38px;
|
||||
/* In IE7, the height of the select element cannot be changed by height, only font-size. TODO: Check if this is still needed when dropping IE7 support */
|
||||
|
||||
line-height: 38px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
select[multiple],
|
||||
|
Reference in New Issue
Block a user