mirror of https://github.com/spikecodes/libreddit
Unwrap #subscriptions
This commit is contained in:
parent
4ae2191392
commit
9c58d23b41
|
@ -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 {
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue