diff options
-rw-r--r-- | core/css/public.scss | 5 | ||||
-rw-r--r-- | core/templates/layout.base.php | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/core/css/public.scss b/core/css/public.scss index 19b90064229..0c04b07ab09 100644 --- a/core/css/public.scss +++ b/core/css/public.scss @@ -40,6 +40,11 @@ min-height: calc(100vh - 160px); } + /** don't apply content header padding on the base layout */ + &.layout-base #content { + padding-top: 0; + } + /* force layout to make sure the content element's height matches its contents' height */ .ie #content { display: inline-block; diff --git a/core/templates/layout.base.php b/core/templates/layout.base.php index d38bd114c3e..bad504c97cc 100644 --- a/core/templates/layout.base.php +++ b/core/templates/layout.base.php @@ -16,7 +16,7 @@ <?php emit_script_loading_tags($_); ?> <?php print_unescaped($_['headers']); ?> </head> - <body id="body-public"> + <body id="body-public" class="layout-base"> <?php include 'layout.noscript.warning.php'; ?> <div id="content" class="app-public" role="main"> <?php print_unescaped($_['content']); ?> |