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

Commit

Permalink
Fixes #2729 — Sets a max-width of ~600px on dialogs (inc. full-screen…
Browse files Browse the repository at this point in the history
… selects), changes disalog width to percentage-based value.
  • Loading branch information
Wilto committed Oct 18, 2011
1 parent 2580f88 commit 9fbadb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions css/structure/jquery.mobile.dialog.css
Expand Up @@ -4,6 +4,7 @@
* 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 { margin: 15px; position: relative; }
.ui-dialog .ui-header, .ui-dialog .ui-footer { z-index: 10; width: auto; }
.ui-dialog .ui-header, .ui-dialog .ui-content, .ui-dialog .ui-footer { max-width: 500px; margin: 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; }

0 comments on commit 9fbadb0

Please sign in to comment.