Fix formatting in some places

This commit is contained in:
gmnsii 2023-03-22 20:29:48 -07:00
parent df3d894947
commit f8ba3cf815
5 changed files with 12 additions and 12 deletions

View file

@ -219,7 +219,7 @@ Assign a default value for each instance-specific setting by passing environment
Assign a default value for each user-modifiable setting by passing environment variables to Libreddit in the format `LIBREDDIT_DEFAULT_{Y}`. Replace `{Y}` with the setting name (see list below) in capital letters.
| Name | Possible values | Default value |
|------------------------|-----------------------------------------------------------------------------------------------------|---------------|
|-------------------------|-----------------------------------------------------------------------------------------------------|---------------|
| `THEME` | `["system", "light", "dark", "black", "dracula", "nord", "laserwave", "violet", "gold", "rosebox", "gruvboxdark", "gruvboxlight"]` | `system` |
| `FRONT_PAGE` | `["default", "popular", "all"]` | `default` |
| `LAYOUT` | `["card", "clean", "compact"]` | `card` |

View file

@ -5,10 +5,10 @@
{% else if kind == "t1" %}
<div id="{{ id }}" class="comment">
<div class="comment_left">
{% if prefs.hide_score != "on" %}
{% if prefs.hide_score != "on" %}
<p class="comment_score" title="{{ score.1 }}">{{ score.0 }}</p>
{% endif %}
<div class="line"></div>
{% endif %}
<div class="line"></div>
</div>
<details class="comment_right" {% if !collapsed || highlighted %}open{% endif %}>
<summary class="comment_data">

View file

@ -77,9 +77,9 @@
{% else %}
<div class="comment">
<div class="comment_left">
{% if prefs.hide_score != "on" %}
{% if prefs.hide_score != "on" %}
<p class="comment_score" title="{{ post.score.1 }}">{{ post.score.0 }}</p>
{% endif %}
{% endif %}
<div class="line"></div>
</div>
<details class="comment_right" open>

View file

@ -52,9 +52,9 @@
{% else %}
<div class="comment">
<div class="comment_left">
{% if prefs.hide_score != "on" %}
{% if prefs.hide_score != "on" %}
<p class="comment_score" title="{{ post.score.1 }}">{{ post.score.0 }}</p>
{% endif %}
{% endif %}
<div class="line"></div>
</div>
<details class="comment_right" open>

View file

@ -147,9 +147,9 @@
<!-- POST BODY -->
<div class="post_body">{{ post.body|safe }}</div>
{% if prefs.hide_score != "on" %}
{% if prefs.hide_score != "on" %}
<div class="post_score" title="{{ post.score.1 }}">{{ post.score.0 }}<span class="label"> Upvotes</span></div>
{% endif %}
{% endif %}
<div class="post_footer">
<ul id="post_links">
<li class="desktop_item"><a href="{{ post.permalink }}">permalink</a></li>
@ -269,9 +269,9 @@
<span>{% if post.post_type == "link" %}{{ post.domain }}{% else %}{{ post.post_type }}{% endif %}</span>
</a>
{% endif %}
{% if prefs.hide_score != "on" %}
{% if prefs.hide_score != "on" %}
<div class="post_score" title="{{ post.score.1 }}">{{ post.score.0 }}<span class="label"> Upvotes</span></div>
{% endif %}
{% endif %}
<div class="post_body post_preview">
{{ post.body|safe }}
</div>