mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-27 09:24:46 +00:00
SetScrollBack to 10 (from 250), CSS tweaks to table
This commit is contained in:
parent
a6b090d15c
commit
a6dc847474
2 changed files with 7 additions and 4 deletions
|
|
@ -26,12 +26,15 @@
|
|||
<p>The jQuery Mobile framework includes a set of CSS-based transition effects that can be applied to any page link or form submission with Ajax navigation: </p>
|
||||
|
||||
<style>
|
||||
table { width:100%; border-bottom:1px solid #ccc; }
|
||||
table { width:100%; border-bottom:1px solid #ccc; border-collapse: collapse; }
|
||||
th { text-align:left; }
|
||||
th, td { vertical-align:top; border-top:1px solid #ccc; padding: 2px 0 2px 0; }
|
||||
th h3 { margin:.6em 0; }
|
||||
th, td { vertical-align:top; border-top:1px solid #ccc; padding: 1px 3px; }
|
||||
td .ui-btn { margin:.4em 0 .5em 0; }
|
||||
td .ui-btn-inner { padding: .4em 15px; }
|
||||
</style>
|
||||
|
||||
<table>
|
||||
<table margin="0">
|
||||
<tr>
|
||||
<th><h3>fade</h3></th>
|
||||
<td><a href="#dialog-success" data-role="button" data-rel="dialog" data-transition="fade" data-inline="true">dialog</a></td>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ define( [ "jquery.mobile.widget" ], function() {
|
|||
maxTransitionWidth: false,
|
||||
|
||||
// Minimum scroll distance that will be remembered when returning to a page
|
||||
minScrollBack: 250,
|
||||
minScrollBack: 10,
|
||||
|
||||
// Set default dialog transition - 'none' for no transitions
|
||||
defaultDialogTransition: "pop",
|
||||
|
|
|
|||
Loading…
Reference in a new issue