From 9c58d23b414912fd640ae8557ebcf85c8d3177bf Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Sat, 30 Jan 2021 18:16:42 -0800 Subject: [PATCH] Unwrap #subscriptions --- static/style.css | 7 ++----- templates/utils.html | 18 ++++++++---------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/static/style.css b/static/style.css index 651d3a8..8cebed1 100644 --- a/static/style.css +++ b/static/style.css @@ -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 { diff --git a/templates/utils.html b/templates/utils.html index 0c59aa3..b0d76b6 100644 --- a/templates/utils.html +++ b/templates/utils.html @@ -42,15 +42,13 @@ {% macro sub_list(current) -%} {% if prefs.subs.len() > 0 %} -
-
- Subscriptions -
- {% for sub in prefs.subs %} - {{ sub }} - {% endfor %} -
-
-
+
+ Subscriptions +
+ {% for sub in prefs.subs %} + {{ sub }} + {% endfor %} +
+
{% endif %} {%- endmacro %}