From 6a1cc7486940085f6d32f6b77e7d76678b095c9e Mon Sep 17 00:00:00 2001 From: bopol Date: Mon, 4 Jan 2021 12:43:14 +0100 Subject: [PATCH] view-more-inks -> view-more-links --- static/css/styles.css | 6 +++--- views/index.pug | 2 +- views/search.pug | 2 +- views/subreddit.pug | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/static/css/styles.css b/static/css/styles.css index 3ffe2cf..8840462 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -161,7 +161,7 @@ body.dark .btn { body.dark #post .crosspost { background: var(--darkbg); } -body.dark .view-more-inks a { +body.dark .view-more-links a { background: black; color: white; } @@ -386,12 +386,12 @@ header .tabmenu li a { header .tabmenu li.active a { background: black; } -.view-more-inks { +.view-more-links { margin-bottom: 50px; float: left; width: 100%; } -.view-more-inks a { +.view-more-links a { margin-left: 20px; padding: 1px 4px; background: #eee; diff --git a/views/index.pug b/views/index.pug index e547fd6..23642c9 100644 --- a/views/index.pug +++ b/views/index.pug @@ -111,7 +111,7 @@ html input(type="checkbox", name="nsfw", id="nsfw", checked="checked") input(type="submit", value="search") if json.info.before || json.info.after - .view-more-inks + .view-more-links if json.info.before && !subreddit_front a(href="/r/all/" + sortby + "?t="+ (past ? past : '') +"&before=" + json.info.before + "") ‹ prev if json.info.after diff --git a/views/search.pug b/views/search.pug index fd05cea..dd048b0 100644 --- a/views/search.pug +++ b/views/search.pug @@ -146,7 +146,7 @@ html a(href="" + link.permalink + "", class="comments") | #{link.num_comments} comments if json.before || json.after - .view-more-inks + .view-more-links if json.before && !subreddit_front a(href="?q=" + q + "&restrict_sr=" + restrict_sr + "&before=" + json.before + "") ‹ prev if json.after diff --git a/views/subreddit.pug b/views/subreddit.pug index 8206b0c..db7e360 100644 --- a/views/subreddit.pug +++ b/views/subreddit.pug @@ -129,7 +129,7 @@ html a(href="" + link.permalink + "", class="comments") | #{link.num_comments} comments if json.info.before || json.info.after - .view-more-inks + .view-more-links if json.info.before && !subreddit_front a(href="/r/" + subreddit + "/" + sortby + "?t="+ (past ? past : '') +"&before=" + json.info.before + "") ‹ prev if json.info.after