Skip to content

Commit

Permalink
Fixed extra vertical padding for footers within dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
toddparker committed Oct 26, 2011
1 parent 28e860f commit 6a44236
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions css/structure/jquery.mobile.dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,23 @@
* Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
*/
.ui-dialog { min-height: 480px; }
.ui-dialog .ui-header, .ui-dialog .ui-content, .ui-dialog .ui-footer { max-width: 500px; margin: 10% auto 15px auto; padding: 15px; width: 85%; position: relative; }
.ui-dialog .ui-header { padding: 0 15px; }
.ui-dialog .ui-header, .ui-dialog .ui-footer { z-index: 10; }
.ui-dialog .ui-content, .ui-dialog .ui-footer { margin-top: -15px; }
.ui-dialog .ui-header,
.ui-dialog .ui-content,
.ui-dialog .ui-footer {
max-width: 500px;
margin: 10% auto 15px auto;
width: 85%;
position: relative;
}
.ui-dialog .ui-header,
.ui-dialog .ui-footer {
padding: 0 15px;
z-index: 10;
}
.ui-dialog .ui-content {
padding: 15px;
}
.ui-dialog .ui-content,
.ui-dialog .ui-footer {
margin-top: -15px;
}

0 comments on commit 6a44236

Please sign in to comment.