Skip to content

Checkboxradio: fixed height of iframes #234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions entries/checkboxradio.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<label for="checkbox-1">I agree</label>
]]></code></pre>
<p>The above snippets will produce two basic checkboxes. The default styles will set the width of the element to 100% of the parent container.
<iframe src="/resources/checkbox/example1.html" style="width:100%;height:120px;border:0px"></iframe></p>
<iframe src="/resources/checkbox/example1.html" style="width:100%;height:130px;border:0px"></iframe></p>

<h3>Mini version</h3>

Expand Down Expand Up @@ -46,7 +46,7 @@
</fieldset>
</div>
]]></code></pre>
<iframe src="/resources/checkbox/example3.html" style="width:100%;height:100px;border:0px"></iframe>
<iframe src="/resources/checkbox/example3.html" style="width:100%;height:120px;border:0px"></iframe>

<h3>Vertically grouped checkboxes</h3>

Expand All @@ -71,7 +71,7 @@
</div>
]]></code></pre>

<iframe src="/resources/checkbox/example4.html" style="width:100%;height:220px;border:0px"></iframe>
<iframe src="/resources/checkbox/example4.html" style="width:100%;height:240px;border:0px"></iframe>

<h3>Horizontal toggle sets</h3>

Expand Down Expand Up @@ -123,7 +123,7 @@
]]></code></pre>

<p>This will produce a vertically grouped radio button set. The default styles set the width of the button group to 100% of the parent container and stacks the label on a separate line.
<iframe src="/resources/radiobutton/example1.html" style="width:100%;height:210px;border:0px"></iframe></p>
<iframe src="/resources/radiobutton/example1.html" style="width:100%;height:240px;border:0px"></iframe></p>

<h3>Mini version</h3>

Expand Down Expand Up @@ -169,7 +169,7 @@
</div>
]]></code></pre>

<iframe src="/resources/radiobutton/example3.html" style="width:100%;height:210px;border:0px"></iframe>
<iframe src="/resources/radiobutton/example3.html" style="width:100%;height:230px;border:0px"></iframe>

<h3>Horizontal radio button sets</h3>

Expand Down
6 changes: 3 additions & 3 deletions resources/checkbox/example1.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<style>
html, body { padding: 0; margin: 0; }
html, .ui-mobile, .ui-mobile body {
height: 115px;
height: 125px;
}
.ui-mobile, .ui-mobile .ui-page {
min-height: 115px;
min-height: 125px;
}
.ui-content{
padding:10px 15px 0px 15px;
Expand All @@ -23,7 +23,7 @@
</head>

<body>
<div data-role="page" style="max-height:120px; min-height:120px;">
<div data-role="page" style="max-height:130px; min-height:130px;">
<div role="main" class="ui-content">
<form>
<label><input type="checkbox" name="checkbox-0" /> I agree </label>
Expand Down
6 changes: 3 additions & 3 deletions resources/checkbox/example3.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<style>
html, body { padding: 0; margin: 0; }
html, .ui-mobile, .ui-mobile body {
height: 95px;
height: 115px;
}
.ui-mobile, .ui-mobile .ui-page {
min-height: 95px;
min-height: 115px;
}
.ui-content{
padding:10px 15px 0px 15px;
Expand All @@ -23,7 +23,7 @@
</head>

<body>
<div data-role="page" style="max-height:100px; min-height:100px;">
<div data-role="page" style="max-height:120px; min-height:120px;">
<div role="main" class="ui-content">
<div class="ui-field-contain">
<form>
Expand Down
6 changes: 3 additions & 3 deletions resources/checkbox/example4.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<style>
html, body { padding: 0; margin: 0; }
html, .ui-mobile, .ui-mobile body {
height: 215px;
height: 235px;
}
.ui-mobile, .ui-mobile .ui-page {
min-height: 215px;
min-height: 235px;
}
.ui-content{
padding:10px 15px 0px 15px;
Expand All @@ -23,7 +23,7 @@
</head>

<body>
<div data-role="page" style="max-height:220px; min-height:220px;">
<div data-role="page" style="max-height:240px; min-height:240px;">
<div role="main" class="ui-content">
<div class="ui-field-contain">
<form>
Expand Down
6 changes: 3 additions & 3 deletions resources/radiobutton/example1.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<style>
html, body { padding: 0; margin: 0; }
html, .ui-mobile, .ui-mobile body {
height: 205px;
height: 235px;
}
.ui-mobile, .ui-mobile .ui-page {
min-height: 205px;
min-height: 235px;
}
.ui-content{
padding:10px 15px 0px 15px;
Expand All @@ -23,7 +23,7 @@
</head>

<body>
<div data-role="page" style="max-height:210px; min-height:210px;">
<div data-role="page" style="max-height:240px; min-height:240px;">
<div role="main" class="ui-content">
<form>
<fieldset data-role="controlgroup">
Expand Down
6 changes: 3 additions & 3 deletions resources/radiobutton/example3.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<style>
html, body { padding: 0; margin: 0; }
html, .ui-mobile, .ui-mobile body {
height: 205px;
height: 225px;
}
.ui-mobile, .ui-mobile .ui-page {
min-height: 205px;
min-height: 225px;
}
.ui-content{
padding:10px 15px 0px 15px;
Expand All @@ -23,7 +23,7 @@
</head>

<body>
<div data-role="page" style="max-height:210px; min-height:210px;">
<div data-role="page" style="max-height:230px; min-height:230px;">
<div role="main" class="ui-content">
<div class="ui-field-contain">
<form>
Expand Down