diff options
author | cash <cash.costello@gmail.com> | 2011-12-19 20:49:30 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-12-19 20:49:30 -0500 |
commit | f003120fba687d14630b690c50e2316f717eca7d (patch) | |
tree | 7077014b8a2a61bdfc6d4544027bdafe06a516c3 /views/default | |
parent | c2cddede38dbb29d53167e296981a678759e0648 (diff) | |
download | elgg-f003120fba687d14630b690c50e2316f717eca7d.tar.gz elgg-f003120fba687d14630b690c50e2316f717eca7d.tar.bz2 |
added more spacing to error layout
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/css/elements/layout.php | 3 | ||||
-rw-r--r-- | views/default/page/layouts/error.php | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/views/default/css/elements/layout.php b/views/default/css/elements/layout.php index 42d898439..25a2bffb7 100644 --- a/views/default/css/elements/layout.php +++ b/views/default/css/elements/layout.php @@ -81,6 +81,9 @@ .elgg-layout-two-sidebar { background: transparent url(<?php echo elgg_get_site_url(); ?>_graphics/two_sidebar_background.gif) repeat-y right top; } +.elgg-layout-error { + margin-top: 20px; +} .elgg-sidebar { position: relative; padding: 20px 10px; diff --git a/views/default/page/layouts/error.php b/views/default/page/layouts/error.php index 5b3109964..cdce28a8e 100644 --- a/views/default/page/layouts/error.php +++ b/views/default/page/layouts/error.php @@ -3,4 +3,10 @@ * Error layout */ +$class = 'elgg-layout-error'; +if (isset($vars['class'])) { + $class = "$class {$vars['class']}"; +} +$vars['class'] = $class; + echo elgg_view('page/layouts/one_column', $vars); |