Browse Source

Fix base layout content padding

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v14.0.0beta3
Julius Härtl 5 years ago
parent
commit
b4ea19c981
No account linked to committer's email address
2 changed files with 6 additions and 1 deletions
  1. 5
    0
      core/css/public.scss
  2. 1
    1
      core/templates/layout.base.php

+ 5
- 0
core/css/public.scss View File

@@ -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;

+ 1
- 1
core/templates/layout.base.php View File

@@ -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']); ?>

Loading…
Cancel
Save