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

Commit 6f1fcba

Browse files
Textinput: box-sizing border-box when the wrapper div has a specific width (i.e. in field container) instead of auto.
1 parent f37384c commit 6f1fcba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ input[type=number]::-webkit-outer-spin-button { margin: 0; }
3131
.ui-field-contain textarea.ui-input-text,
3232
.ui-field-contain .ui-input-search,
3333
.ui-field-contain div.ui-input-text { width: 78%; display: inline-block; }
34+
.ui-field-contain .ui-input-search,
35+
.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; }
3436
.ui-hide-label input.ui-input-text,
3537
.ui-hide-label textarea.ui-input-text,
3638
.ui-hide-label .ui-input-search,

0 commit comments

Comments
 (0)