From ca3581fca7e44e22962711bc5ffd82722a664da2 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Sat, 6 Nov 2021 14:38:33 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Adjust=20leading=20on=20article?= =?UTF-8?q?=20pagination=20headings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/compiled/main.css | 12 ++++++------ layouts/partials/article-pagination.html | 12 ++++++++---- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 45722f6d..11b74098 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -1928,8 +1928,8 @@ body a, body button { margin-right: 0.75rem; } -.-mt-1 { - margin-top: -0.25rem; +.mt-\[0\.1rem\] { + margin-top: 0.1rem; } .ml-3 { @@ -2336,14 +2336,14 @@ body a, body button { line-height: 1.75rem; } -.leading-3 { - line-height: .75rem; -} - .leading-6 { line-height: 1.5rem; } +.leading-3 { + line-height: .75rem; +} + .text-neutral-400 { color: var(--color-neutral-400); } diff --git a/layouts/partials/article-pagination.html b/layouts/partials/article-pagination.html index 0dad34aa..40134165 100644 --- a/layouts/partials/article-pagination.html +++ b/layouts/partials/article-pagination.html @@ -8,8 +8,10 @@ - {{ .NextInSection.Title | emojify }} - + {{ .NextInSection.Title | emojify }} + {{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }} {{ partial "meta/date.html" . }} {{ end }} @@ -22,8 +24,10 @@ {{ if .PrevInSection }} - {{ .PrevInSection.Title | emojify }} - + {{ .PrevInSection.Title | emojify }} + {{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }} {{ partial "meta/date.html" . }} {{ end }}