From 832811615cc331073549fd05f0a36c64a3fafc47 Mon Sep 17 00:00:00 2001 From: Joe Hutchinson Date: Thu, 13 Dec 2018 14:04:45 -0500 Subject: [PATCH] Change older posts and newer posts navigation from buttons to links and fix older page navigation appearing on the left --- layouts/_default/list.html | 4 ++-- static/css/style.css | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f4be030..023f8dd 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -14,8 +14,8 @@ {{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }} {{ end }} {{ partial "scripts.html" . }} diff --git a/static/css/style.css b/static/css/style.css index 78cf11f..f938dfc 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -243,12 +243,15 @@ input:checked ~ .hamburger-menu-overlay { } .pagination-nav { margin: 2em 0; - display: flex; - align-items: center; - justify-content: space-between; width: 100%; max-width: 47rem; } +.pagination-newer { + float:left; +} +.pagination-older { + float: right; +} .button { padding: 0.5em 0.6em; background-color: #FFF;