diff options
-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; |