Skip to content
This repository
Browse code

Merge pull request #5181 from jschulte/fix-5131

Resolve input=number width issue for Android 4.1(cherry picked from commit 016468d)
  • Loading branch information...
commit 6c9135d03a350d448cade0fadeb3cbbbb1858be5 1 parent e630925
Ghislain Seguin authored
3  css/structure/jquery.mobile.forms.textinput.css
@@ -20,6 +20,9 @@ textarea.ui-mini { height: 45px; }
20 20
 /* Resolves issue #5166: Added to support issue introduced in Firefox 15. We can likely remove this in the future. */
21 21
 input:-moz-placeholder { color: #aaa; }
22 22
 
  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
+
23 26
 @media all and (min-width: 450px){
24 27
 	.ui-field-contain label.ui-input-text  { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0 }
25 28
 	.ui-field-contain input.ui-input-text, 

0 notes on commit 6c9135d

Please sign in to comment.
Something went wrong with that request. Please try again.