2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

fixes #4358: make select elements 30px tall to match inputs

This commit is contained in:
Mark Otto
2012-08-14 14:57:49 -07:00
parent 50df524ba1
commit 5144c77b27
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -151,9 +151,9 @@ input[type="checkbox"] {
// Set the height of select and file controls to match text inputs
select,
input[type="file"] {
height: 28px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
height: 30px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
*margin-top: 4px; /* For IE7, add top margin to align select with labels */
line-height: 28px;
line-height: 30px;
}
// Make select elements obey height by applying a border