From da0d1dcac47fd462363f35dbddb50db7a985fe13 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sat, 5 Feb 2022 19:43:16 -0500 Subject: Remove need for a spacer element in pagination section. --- css/dthompson.css | 7 ++----- theme.scm | 1 - 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/css/dthompson.css b/css/dthompson.css index 096d1e3..8ad28cf 100644 --- a/css/dthompson.css +++ b/css/dthompson.css @@ -208,14 +208,11 @@ footer { .paginator { display: flex; -} - -.paginator-spacer { - flex: 1; + justify-content: space-between; } .paginator-next { - text-align: right; + margin-left: auto; } /* Syntax Highlighting */ diff --git a/theme.scm b/theme.scm index dcae710..5992965 100644 --- a/theme.scm +++ b/theme.scm @@ -125,7 +125,6 @@ free culture works available under the " ,%cc-by-sa-link " license.") `(a (@ (class "paginator-prev") (href ,previous-page)) "🡐 Newer") '()) - (span (@ (class "paginator-spacer"))) ,(if next-page `(a (@ (class "paginator-next") (href ,next-page)) "Older 🡒") -- cgit v1.2.3