Improve support for text-only browsers
This commit is contained in:
parent
d7839899e6
commit
998b301229
3 changed files with 11 additions and 6 deletions
|
@ -388,6 +388,10 @@ a.search_subreddit:hover {
|
|||
|
||||
/* Post */
|
||||
|
||||
.sep {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.thread {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
|
|
@ -98,11 +98,11 @@
|
|||
<div class="thread">
|
||||
<!-- EACH COMMENT -->
|
||||
{% call comment(c) %}
|
||||
<div class="replies">{% for reply1 in c.replies %}{% call comment(reply1) %}
|
||||
<blockquote class="replies">{% for reply1 in c.replies %}{% call comment(reply1) %}
|
||||
<!-- FIRST-LEVEL REPLIES -->
|
||||
<div class="replies">{% for reply2 in reply1.replies %}{% call comment(reply2) %}
|
||||
<blockquote class="replies">{% for reply2 in reply1.replies %}{% call comment(reply2) %}
|
||||
<!-- SECOND-LEVEL REPLIES -->
|
||||
<div class="replies">{% for reply3 in reply2.replies %}{% call comment(reply3) %}
|
||||
<blockquote class="replies">{% for reply3 in reply2.replies %}{% call comment(reply3) %}
|
||||
<!-- THIRD-LEVEL REPLIES -->
|
||||
{% if reply3.replies.len() > 0 %}
|
||||
<!-- LINK TO CONTINUE REPLIES -->
|
||||
|
@ -110,11 +110,11 @@
|
|||
{% endif %}
|
||||
{% call close() %}
|
||||
{% endfor %}
|
||||
</div>{% call close() %}
|
||||
</blockquote>{% call close() %}
|
||||
{% endfor %}
|
||||
</div>{% call close() %}
|
||||
</blockquote>{% call close() %}
|
||||
{% endfor %}
|
||||
</div>{% call close() %}
|
||||
</blockquote>{% call close() %}
|
||||
</div>
|
||||
{%- endfor %}
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
<div id="posts">
|
||||
{% for post in posts %}
|
||||
{% if !(post.flags.nsfw && prefs.hide_nsfw == "on") %}
|
||||
<hr class="sep" />
|
||||
<div class="post {% if post.flags.stickied %}stickied{% endif %} {% if prefs.layout == "card" && post.post_type == "image" %}card_post{% endif %}">
|
||||
<div class="post_left">
|
||||
<p class="post_score">{{ post.score }}</p>
|
||||
|
|
Loading…
Reference in a new issue