From 3ed17949c3586993fbdf027678b137406eb419ee Mon Sep 17 00:00:00 2001 From: Zachary Snow Date: Tue, 29 May 2018 10:50:28 -0700 Subject: [PATCH] 'disabled' newer/older links cannot be interacted with --- static/css/site.css | 3 ++- static/sass/items.scss | 1 + templates/items/section.html | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/static/css/site.css b/static/css/site.css index 4dad1dd..3ba8272 100644 --- a/static/css/site.css +++ b/static/css/site.css @@ -111,7 +111,8 @@ section { text-decoration: underline; } .items a.page.empty { color: #969499; - text-decoration: none; } + text-decoration: none; + cursor: default; } .item { padding: 8px 36; diff --git a/static/sass/items.scss b/static/sass/items.scss index f94d185..a692c48 100644 --- a/static/sass/items.scss +++ b/static/sass/items.scss @@ -26,6 +26,7 @@ section { a.page.empty { color: $midgray; text-decoration: none; + cursor: default; } } diff --git a/templates/items/section.html b/templates/items/section.html index 8333d84..c939597 100644 --- a/templates/items/section.html +++ b/templates/items/section.html @@ -7,16 +7,16 @@ {% endfor %} {% if items.has_next %} - Older → + Older → {% else %} - Older → + Older → {% endif %} {% if items.has_previous %} ← Newer {% else %} - ← Newer + ← Newer {% endif %}