adjust headline spacing for pages without pageactions

This commit is contained in:
Felix Hamann 2019-04-21 23:16:26 +02:00
parent 423596bd26
commit 2fde26b68e
3 changed files with 12 additions and 10 deletions

View File

@ -15,16 +15,15 @@ $if not isModal
<div .main__content-body> <div .main__content-body>
<section> $maybe headline <- contentHeadline
$maybe headline <- contentHeadline <h1 .headline-one>
<h1 .headline-one> <!-- $maybe back <- lastMaybe parents
<!-- $maybe back <- lastMaybe parents <a .breadcrumbs__link href="@{fst back}">#{snd back} -->
<a .breadcrumbs__link href="@{fst back}">#{snd back} --> ^{headline}
^{headline}
$if not isModal && hasPageActions $if not isModal && hasPageActions
<!-- page actions --> <!-- page actions -->
^{pageaction} ^{pageaction}
<!-- actual content --> <!-- actual content -->
^{widget} ^{widget}

View File

@ -541,5 +541,5 @@ section {
} }
.headline-one { .headline-one {
margin-bottom: 15px; margin-bottom: 10px;
} }

View File

@ -1,6 +1,9 @@
.pagenav { .pagenav {
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
padding-bottom: 15px;
margin-bottom: 20px;
border-bottom: 1px solid #eee;
} }
.pagenav__list-item { .pagenav__list-item {