diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-14 03:25:43 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-14 03:25:43 +0000 |
commit | 7e0059d53b8f79f72ecd51fa8553ec319c36026b (patch) | |
tree | 728d1a59d2a2e5840f168f3a2ef3b37c73e357bb | |
parent | 3186c0ff09a9c9adec00ea03b731e25cf75fa914 (diff) | |
download | brdo-7e0059d53b8f79f72ecd51fa8553ec319c36026b.tar.gz brdo-7e0059d53b8f79f72ecd51fa8553ec319c36026b.tar.bz2 |
#668464 by casey: Fixed no room in overlay module for error messages.
-rw-r--r-- | modules/overlay/overlay.module | 12 | ||||
-rw-r--r-- | themes/seven/style.css | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/modules/overlay/overlay.module b/modules/overlay/overlay.module index 2f7f77a97..0162b583b 100644 --- a/modules/overlay/overlay.module +++ b/modules/overlay/overlay.module @@ -262,6 +262,18 @@ function overlay_preprocess_html(&$variables) { } /** + * Preprocess template variables for maintenance-page.tpl.php. + * + * If the current page request is inside the overlay, add appropriate classes + * to the <body> element, and simplify the page title. + * + * @see overlay_preprocess_maintenance_page() + */ +function overlay_preprocess_maintenance_page(&$variables) { + overlay_preprocess_html($variables); +} + +/** * Preprocess template variables for page.tpl.php. * * Display breadcrumbs correctly inside the overlay. diff --git a/themes/seven/style.css b/themes/seven/style.css index 148adbcdd..df0e6fddc 100644 --- a/themes/seven/style.css +++ b/themes/seven/style.css @@ -931,6 +931,7 @@ body.in-maintenance #content { padding-right: 20px; } body.in-maintenance #page { + overflow: auto; width: 770px; margin: 0 auto; padding-top: 2em; |