From 998b301229b0324e76427cb81d7c939df24b902f Mon Sep 17 00:00:00 2001 From: robrobinbin <> Date: Sat, 16 Jan 2021 11:00:15 +0100 Subject: [PATCH] Improve support for text-only browsers --- static/style.css | 4 ++++ templates/post.html | 12 ++++++------ templates/subreddit.html | 1 + 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/static/style.css b/static/style.css index 28c7391..cb6b767 100644 --- a/static/style.css +++ b/static/style.css @@ -388,6 +388,10 @@ a.search_subreddit:hover { /* Post */ +.sep { + display: none; +} + .thread { word-break: break-word; } diff --git a/templates/post.html b/templates/post.html index 7eeb4f7..c2f3881 100644 --- a/templates/post.html +++ b/templates/post.html @@ -98,11 +98,11 @@
{% call comment(c) %} -
{% for reply1 in c.replies %}{% call comment(reply1) %} +
{% for reply1 in c.replies %}{% call comment(reply1) %} -
{% for reply2 in reply1.replies %}{% call comment(reply2) %} +
{% for reply2 in reply1.replies %}{% call comment(reply2) %} -
{% for reply3 in reply2.replies %}{% call comment(reply3) %} +
{% for reply3 in reply2.replies %}{% call comment(reply3) %} {% if reply3.replies.len() > 0 %} @@ -110,11 +110,11 @@ {% endif %} {% call close() %} {% endfor %} -
{% call close() %} +
{% call close() %} {% endfor %} -
{% call close() %} +
{% call close() %} {% endfor %} -
{% call close() %} + {% call close() %}
{%- endfor %} diff --git a/templates/subreddit.html b/templates/subreddit.html index 2593465..82c2d23 100644 --- a/templates/subreddit.html +++ b/templates/subreddit.html @@ -31,6 +31,7 @@
{% for post in posts %} {% if !(post.flags.nsfw && prefs.hide_nsfw == "on") %} +

{{ post.score }}