adjust headline spacing for pages without pageactions
This commit is contained in:
parent
423596bd26
commit
2fde26b68e
@ -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}
|
||||
|
||||
@ -541,5 +541,5 @@ section {
|
||||
}
|
||||
|
||||
.headline-one {
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user