Permalink
Browse files

SetScrollBack to 10 (from 250), CSS tweaks to table

  • Loading branch information...
1 parent a6b090d commit a6dc847474cd43b10d85744c66bd1d9ccce1632a @toddparker toddparker committed with scottjehl Jan 12, 2012
Showing with 7 additions and 4 deletions.
  1. +6 −3 docs/pages/page-transitions.html
  2. +1 −1 js/jquery.mobile.core.js
@@ -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>
View
@@ -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",

0 comments on commit a6dc847

Please sign in to comment.