Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5181 from jschulte/fix-5131
Browse files Browse the repository at this point in the history
Resolve input=number width issue for Android 4.1(cherry picked from commit 016468d)
  • Loading branch information
gseguin committed Oct 16, 2012
1 parent 51e3c17 commit ffd16d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions css/structure/jquery.mobile.forms.textinput.css
Expand Up @@ -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,
Expand Down

0 comments on commit ffd16d4

Please sign in to comment.