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>
|
<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}
|
||||||
|
|||||||
@ -541,5 +541,5 @@ section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.headline-one {
|
.headline-one {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user