Fix base layout content padding

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-08-03 19:21:10 +02:00
parent 2d3e5c817c
commit b4ea19c981
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
2 changed files with 6 additions and 1 deletions

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;

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