From 2fde26b68e0b1150e502e0db2c58e008d8cebe2c Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sun, 21 Apr 2019 23:16:26 +0200 Subject: [PATCH] adjust headline spacing for pages without pageactions --- templates/default-layout.hamlet | 17 ++++++++--------- templates/default-layout.lucius | 2 +- templates/widgets/pageaction/pageaction.lucius | 3 +++ 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/templates/default-layout.hamlet b/templates/default-layout.hamlet index 7a679af27..701b464ce 100644 --- a/templates/default-layout.hamlet +++ b/templates/default-layout.hamlet @@ -15,16 +15,15 @@ $if not isModal
-
- $maybe headline <- contentHeadline -

- - ^{headline} + $maybe headline <- contentHeadline +

+ + ^{headline} - $if not isModal && hasPageActions - - ^{pageaction} + $if not isModal && hasPageActions + + ^{pageaction} ^{widget} diff --git a/templates/default-layout.lucius b/templates/default-layout.lucius index 2dc1141d9..558ee6e0d 100644 --- a/templates/default-layout.lucius +++ b/templates/default-layout.lucius @@ -541,5 +541,5 @@ section { } .headline-one { - margin-bottom: 15px; + margin-bottom: 10px; } diff --git a/templates/widgets/pageaction/pageaction.lucius b/templates/widgets/pageaction/pageaction.lucius index 29977228d..ebdd5be78 100644 --- a/templates/widgets/pageaction/pageaction.lucius +++ b/templates/widgets/pageaction/pageaction.lucius @@ -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 {