Skip to content

Commit e9040c7

Browse files
committed
Merge pull request jquery-archive#2694 from Wilto/version-flag-touchOverflowEnabled
Fixes position of ‘current version’ flag on documentation index when touchOverflowEnabled is true. Thanks Wilto!
2 parents fbec0e3 + 9719454 commit e9040c7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/_assets/css/jqm-docs.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ cobblers, shoes,
55
*/
66

77
body { background: #dddddd; }
8-
98
.ui-mobile .type-home .ui-content { margin: 0; background: #e5e5e5 url(../images/jqm-sitebg.png) top center repeat-x; }
109
.ui-mobile #jqm-homeheader { padding: 40px 10px 0; text-align: center; margin: 0 auto; }
1110
.ui-mobile #jqm-homeheader h1 { margin: 0 0 ; }
1211
.ui-mobile #jqm-homeheader p { margin: .3em 0 0; line-height: 1.3; font-size: .9em; font-weight: bold; color: #666; }
13-
.ui-mobile #jqm-version { text-indent: -99999px; background: url(../images/version.png) top right no-repeat; width: 119px; height: 122px; overflow: hidden; position: absolute; z-index: 50; top: 0; right: 0; }
12+
.ui-mobile #jqm-version { text-indent: -99999px; background: url(../images/version.png) top right no-repeat; width: 119px; height: 122px; overflow: hidden; position: absolute; z-index: 50; top: -11px; right: 0; }
1413
.ui-mobile .jqm-themeswitcher { margin: 10px 25px 10px 10px; }
1514

1615
h2 { margin:1.2em 0 .4em 0; }

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
<body>
1616
<div data-role="page" class="type-home">
1717
<div data-role="content">
18-
18+
<p id="jqm-version">Beta Release</p>
19+
1920

2021
<div class="content-secondary">
2122

2223
<div id="jqm-homeheader">
2324
<h1 id="jqm-logo"><img src="docs/_assets/images/jquery-logo.png" alt="jQuery Mobile Framework" /></h1>
2425
<p>A Touch-Optimized Web Framework for Smartphones &amp; Tablets</p>
25-
<p id="jqm-version">Beta Release</p>
2626
</div>
2727

2828

0 commit comments

Comments
 (0)