From 7e0059d53b8f79f72ecd51fa8553ec319c36026b Mon Sep 17 00:00:00 2001 From: Angie Byron <webchick@24967.no-reply.drupal.org> Date: Thu, 14 Jan 2010 03:25:43 +0000 Subject: [PATCH] #668464 by casey: Fixed no room in overlay module for error messages. --- modules/overlay/overlay.module | 12 ++++++++++++ themes/seven/style.css | 1 + 2 files changed, 13 insertions(+) diff --git a/modules/overlay/overlay.module b/modules/overlay/overlay.module index 2f7f77a9730d..0162b583b637 100644 --- a/modules/overlay/overlay.module +++ b/modules/overlay/overlay.module @@ -261,6 +261,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. * diff --git a/themes/seven/style.css b/themes/seven/style.css index 148adbcdd87d..df0e6fddc11d 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; -- GitLab