Skip to content

Commit 4a7bf8e

Browse files
committed
Textinput: fixed iframe size to avoid scrollbars
Closes gh-268
1 parent 3344537 commit 4a7bf8e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

entries/textinput.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<p>In jQuery Mobile, you can use existing and new HTML5 input types such as <code>password</code>, <code>email</code>, <code>tel</code>, <code>number</code>, and more. Some type values are rendered differently across browsers. For example, Chrome renders the <code>range</code> input as a slider. jQuery Mobile standardizes the appearance of <code>range</code> and <code>search</code> by dynamically changing their type to <code>text</code>. You can configure which input types are degraded to <code>text</code> with the <code>page</code> plugin's options.</p>
6161

6262
<p>One major advantage of using these more specific input types if that on mobile devices, specialized keyboards that speed data entry are offered in place of the standard text keyboard. Try the following inputs on a mobile device to see which display custom keyboards on various platforms.
63-
<iframe src="/resources/textinput/example4.html" style="width:100%;height:710px;border:0px"></iframe></p>
63+
<iframe src="/resources/textinput/example4.html" style="width:100%;height:730px;border:0px"></iframe></p>
6464

6565
<h2>Textareas</h2>
6666

resources/textinput/example4.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
<style>
1212
html, body { padding: 0; margin: 0; }
1313
html, .ui-mobile, .ui-mobile body {
14-
height: 705px;
14+
height: 725px;
1515
}
1616
.ui-mobile, .ui-mobile .ui-page {
17-
min-height: 705px;
17+
min-height: 725px;
1818
}
1919
.ui-content{
2020
padding:10px 15px 0px 15px;
@@ -23,7 +23,7 @@
2323
</head>
2424

2525
<body>
26-
<div data-role="page" style="max-height:710px; min-height:710px;">
26+
<div data-role="page" style="max-height:730px; min-height:730px;">
2727
<div role="main" class="ui-content">
2828
<div class="ui-field-contain">
2929
<label for="password">Password:</label>

0 commit comments

Comments
 (0)