Commit 7f153974 authored by Mark Otto's avatar Mark Otto
Browse files

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

parent 99b66c1f
Showing with 12 additions and 2 deletions
+12 -2
...@@ -1651,6 +1651,10 @@ input[type="checkbox"] { ...@@ -1651,6 +1651,10 @@ input[type="checkbox"] {
input[type="file"] { input[type="file"] {
display: block; display: block;
} }
input[type="range"] {
display: block;
width: 100%;
}
select[multiple], select[multiple],
select[size] { select[size] {
height: auto; height: auto;
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
...@@ -52,6 +52,12 @@ input[type="file"] { ...@@ -52,6 +52,12 @@ input[type="file"] {
display: block; display: block;
} }
// Make range inputs behave like textual form controls
input[type="range"] {
display: block;
width: 100%;
}
// Make multiple select elements height not fixed // Make multiple select elements height not fixed
select[multiple], select[multiple],
select[size] { select[size] {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment