From 6c9135d03a350d448cade0fadeb3cbbbb1858be5 Mon Sep 17 00:00:00 2001 From: Ghislain Seguin Date: Tue, 16 Oct 2012 11:36:16 -0700 Subject: [PATCH] Merge pull request #5181 from jschulte/fix-5131 Resolve input=number width issue for Android 4.1(cherry picked from commit 016468d3fabeb73e85da4cbb167298dce39f7670) --- css/structure/jquery.mobile.forms.textinput.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/css/structure/jquery.mobile.forms.textinput.css b/css/structure/jquery.mobile.forms.textinput.css index 88ebd3701e5..8195f1f0279 100644 --- a/css/structure/jquery.mobile.forms.textinput.css +++ b/css/structure/jquery.mobile.forms.textinput.css @@ -20,6 +20,9 @@ textarea.ui-mini { height: 45px; } /* Resolves issue #5166: Added to support issue introduced in Firefox 15. We can likely remove this in the future. */ input:-moz-placeholder { color: #aaa; } +/* Resolves issue #5131: Width of textinput depends on its type, for Android 4.1 */ +input[type=number]::-webkit-outer-spin-button { margin: 0; } + @media all and (min-width: 450px){ .ui-field-contain label.ui-input-text { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0 } .ui-field-contain input.ui-input-text,