Unwrap #subscriptions

This commit is contained in:
spikecodes 2021-01-30 18:16:42 -08:00
parent 4ae2191392
commit 9c58d23b41
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
2 changed files with 10 additions and 15 deletions

View file

@ -257,11 +257,6 @@ aside {
/* Subscribed subreddit list */
#subscriptions_container {
display: inline-block;
margin-left: 10px;
}
#subscriptions {
position: relative;
border-radius: 5px;
@ -270,6 +265,8 @@ aside {
align-items: center;
box-sizing: border-box;
font-size: 15px;
display: inline-block;
margin-left: 10px;
}
#subscriptions > summary {

View file

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