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

Commit 1c22f1d

Browse files
Textinput: adjustments to fieldcontain CSS
1 parent 9fe96a1 commit 1c22f1d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ input:-moz-placeholder { color: #aaa; }
2525
/* Resolves issue #5131: Width of textinput depends on its type, for Android 4.1 */
2626
input[type=number]::-webkit-outer-spin-button { margin: 0; }
2727

28-
@media all and (min-width: 450px){
29-
.ui-field-contain label.ui-input-text { vertical-align: top; display: inline-block; width: 20%; margin: 0 1% 0 0 }
28+
@media all and (min-width: 28em){
29+
.ui-field-contain label.ui-input-text { vertical-align: top; display: inline-block; width: 20%; margin: 0 2% 0 0 }
3030
.ui-field-contain input.ui-input-text,
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; }
3434
.ui-hide-label input.ui-input-text,
3535
.ui-hide-label textarea.ui-input-text,
3636
.ui-hide-label .ui-input-search,
37-
.ui-hide-label div.ui-input-text { width: 100%; }
37+
.ui-hide-label div.ui-input-text,
3838
.ui-input-search input.ui-input-text,
39-
div.ui-input-text input.ui-input-text { width: 100%; /*echos rule from above*/ }
39+
div.ui-input-text input.ui-input-text { width: 100%; }
4040
}

0 commit comments

Comments
 (0)