Fixes #11990 and #12159: Make range inputs block level and 100% wide by default

This commit is contained in:
Mark Otto 2014-01-09 18:07:14 -08:00
parent 99b66c1f2c
commit 7f153974e1
6 changed files with 14 additions and 4 deletions

View File

@ -1651,6 +1651,10 @@ input[type="checkbox"] {
input[type="file"] {
display: block;
}
input[type="range"] {
display: block;
width: 100%;
}
select[multiple],
select[size] {
height: auto;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -52,6 +52,12 @@ input[type="file"] {
display: block;
}
// Make range inputs behave like textual form controls
input[type="range"] {
display: block;
width: 100%;
}
// Make multiple select elements height not fixed
select[multiple],
select[size] {