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

Commit b3bf6c5

Browse files
author
Gabriel Schulhof
committed
Popup: Re-add button that opens popup alignment demo
Fixes gh-7144
1 parent 5bb9ee8 commit b3bf6c5

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

demos/popup-alignment/index.php

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,10 @@
3232
opacity: 0.8;
3333
}
3434
#open-alignment-example {
35-
position: absolute;
36-
width: 3em;
37-
min-width: 3em;
38-
max-width: 3em;
39-
height: 1.2em;
40-
min-height: 1.2em;
41-
max-height: 1.2em;
42-
margin-left: -1.5em;
43-
margin-top: -0.6em;
35+
position: relative;
4436
left: 50%;
45-
top: 50%;
37+
width: 6em;
38+
margin-left: -3em;
4639
background-color: #ffa0a0;
4740
border-color: black;
4841
}
@@ -73,6 +66,7 @@
7366
</form>
7467
</div>
7568
</div>
69+
<a href="#alignment-example" id="open-alignment-example" data-rel="popup" role="button" class="ui-btn ui-corner-all ui-shadow ui-btn-inline">Open Popup</a>
7670
</div><!-- /content -->
7771

7872
<?php include( '../jqm-navmenu.php' ); ?>

0 commit comments

Comments
 (0)