Clean-up and more consistent styles.

This commit is contained in:
Matthew Crossman 2021-01-30 19:33:38 +11:00
parent c71df35b22
commit 11e4ff42ed
No known key found for this signature in database
GPG key ID: C6B942B019794CC2
6 changed files with 32 additions and 18 deletions

View file

@ -26,8 +26,7 @@
{% block search %}{% endblock %}
<a id="code" href="https://github.com/spikecodes/libreddit">code</a>
</nav>
<!-- SUBSCRIBED SUBREDDITS -->
{% block sub_list %}
{% endblock %}

View file

@ -42,8 +42,8 @@
{% macro sub_list(current) -%}
{% if prefs.subs.len() > 0 %}
<div id="sub_list">
<div id="subs">
<div id="subscriptions">
<div id="sub_list">
{% for sub in prefs.subs %}
<a href="/r/{{ sub }}" {% if sub == current %}class="selected"{% endif %}>{{ sub }}</a>
{% endfor %}