summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-02-05 19:43:16 -0500
committerDavid Thompson <dthompson2@worcester.edu>2022-02-05 19:43:16 -0500
commitda0d1dcac47fd462363f35dbddb50db7a985fe13 (patch)
tree2a2e4e784a17c16c39d974c4866c2f73508e70aa
parent073e3a4f11d6987774b44aac1649197dfcacae1b (diff)
Remove need for a spacer element in pagination section.
-rw-r--r--css/dthompson.css7
-rw-r--r--theme.scm1
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 🡒")