Fix base layout content padding
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
2d3e5c817c
commit
b4ea19c981
|
@ -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;
|
||||
|
|
|
@ -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…
Reference in New Issue