Permalink
Browse files

Textinput: box-sizing border-box when the wrapper div has a specific …

…width (i.e. in field container) instead of auto.
  • Loading branch information...
jaspermdegroot committed Dec 5, 2012
1 parent f37384c commit 6f1fcba65cf9a3e77ddc72d010577443175183e7
Showing with 2 additions and 0 deletions.
  1. +2 −0 css/structure/jquery.mobile.forms.textinput.css
@@ -31,6 +31,8 @@ input[type=number]::-webkit-outer-spin-button { margin: 0; }
.ui-field-contain textarea.ui-input-text,
.ui-field-contain .ui-input-search,
.ui-field-contain div.ui-input-text { width: 78%; display: inline-block; }
.ui-field-contain .ui-input-search,
.ui-field-contain div.ui-input-text { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; }
.ui-hide-label input.ui-input-text,
.ui-hide-label textarea.ui-input-text,
.ui-hide-label .ui-input-search,

0 comments on commit 6f1fcba

Please sign in to comment.