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);
|
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 */
|
/* force layout to make sure the content element's height matches its contents' height */
|
||||||
.ie #content {
|
.ie #content {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
<?php emit_script_loading_tags($_); ?>
|
<?php emit_script_loading_tags($_); ?>
|
||||||
<?php print_unescaped($_['headers']); ?>
|
<?php print_unescaped($_['headers']); ?>
|
||||||
</head>
|
</head>
|
||||||
<body id="body-public">
|
<body id="body-public" class="layout-base">
|
||||||
<?php include 'layout.noscript.warning.php'; ?>
|
<?php include 'layout.noscript.warning.php'; ?>
|
||||||
<div id="content" class="app-public" role="main">
|
<div id="content" class="app-public" role="main">
|
||||||
<?php print_unescaped($_['content']); ?>
|
<?php print_unescaped($_['content']); ?>
|
||||||
|
|
Loading…
Reference in New Issue