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>
<section>
$maybe headline <- contentHeadline
<h1 .headline-one>
<!-- $maybe back <- lastMaybe parents
<a .breadcrumbs__link href="@{fst back}">#{snd back} -->
^{headline}
$maybe headline <- contentHeadline
<h1 .headline-one>
<!-- $maybe back <- lastMaybe parents
<a .breadcrumbs__link href="@{fst back}">#{snd back} -->
^{headline}
$if not isModal && hasPageActions
<!-- page actions -->
^{pageaction}
$if not isModal && hasPageActions
<!-- page actions -->
^{pageaction}
<!-- actual content -->
^{widget}

View File

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

View File

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