From a7c1f25c9c91d10402c64f03296f0b0028bdfc67 Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Thu, 4 Nov 2021 19:53:06 -0400 Subject: [PATCH 1/2] Fix spacing for pagination dates --- layouts/partials/article-pagination.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/article-pagination.html b/layouts/partials/article-pagination.html index 622aaf4a..0dad34aa 100644 --- a/layouts/partials/article-pagination.html +++ b/layouts/partials/article-pagination.html @@ -9,7 +9,7 @@ {{ .NextInSection.Title | emojify }} - + {{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }} {{ partial "meta/date.html" . }} {{ end }} @@ -23,7 +23,7 @@ {{ .PrevInSection.Title | emojify }} - + {{ if .Params.showDate | default (.Site.Params.article.showDate | default true) }} {{ partial "meta/date.html" . }} {{ end }} 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 2/2] =?UTF-8?q?=F0=9F=92=84=20Adjust=20leading=20on=20arti?= =?UTF-8?q?cle=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 }}