Skip to content

Commit 016468d

Browse files
committed
Merge pull request jquery-archive#5181 from jschulte/fix-5131
Resolve input=number width issue for Android 4.1
2 parents e1df63b + 8a07720 commit 016468d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css/structure/jquery.mobile.forms.textinput.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ textarea.ui-mini { height: 45px; }
2020
/* Resolves issue #5166: Added to support issue introduced in Firefox 15. We can likely remove this in the future. */
2121
input:-moz-placeholder { color: #aaa; }
2222

23+
/* Resolves issue #5131: Width of textinput depends on its type, for Android 4.1 */
24+
input[type=number]::-webkit-outer-spin-button { margin: 0; }
25+
2326
@media all and (min-width: 450px){
2427
.ui-field-contain label.ui-input-text { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0 }
2528
.ui-field-contain input.ui-input-text,

0 commit comments

Comments
 (0)