Merge pull request #821 from fawni/feat/hide-subreddit-panel
This commit is contained in:
commit
ea696687be
2 changed files with 8 additions and 3 deletions
|
@ -380,13 +380,17 @@ aside {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
#subreddit, #sidebar { min-width: 350px; }
|
||||||
|
|
||||||
#user *, #subreddit * { text-align: center; }
|
#user *, #subreddit * { text-align: center; }
|
||||||
|
|
||||||
#user, #sub_meta, #sidebar_contents { padding: 20px; }
|
#user, #sub_meta, #sidebar_contents { padding: 20px; }
|
||||||
|
|
||||||
#sidebar, #sidebar_contents { margin-top: 10px; }
|
#sidebar, #sidebar_contents { margin-top: 10px; }
|
||||||
#sidebar_label { padding: 10px; }
|
#sidebar_label, #subreddit_label {
|
||||||
|
padding: 10px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
#user_icon, #sub_icon {
|
#user_icon, #sub_icon {
|
||||||
width: 100px;
|
width: 100px;
|
||||||
|
|
|
@ -88,7 +88,8 @@
|
||||||
<center>(Content from r/{{ sub.name }} has been filtered)</center>
|
<center>(Content from r/{{ sub.name }} has been filtered)</center>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if !sub.name.is_empty() && sub.name != "all" && sub.name != "popular" && !sub.name.contains("+") %}
|
{% if !sub.name.is_empty() && sub.name != "all" && sub.name != "popular" && !sub.name.contains("+") %}
|
||||||
<div class="panel" id="subreddit">
|
<details class="panel" id="subreddit" open>
|
||||||
|
<summary id="subreddit_label">Subreddit</summary>
|
||||||
{% if sub.wiki %}
|
{% if sub.wiki %}
|
||||||
<div id="top">
|
<div id="top">
|
||||||
<div>Posts</div>
|
<div>Posts</div>
|
||||||
|
@ -131,7 +132,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</details>
|
||||||
<details class="panel" id="sidebar">
|
<details class="panel" id="sidebar">
|
||||||
<summary id="sidebar_label">Sidebar</summary>
|
<summary id="sidebar_label">Sidebar</summary>
|
||||||
<div id="sidebar_contents">
|
<div id="sidebar_contents">
|
||||||
|
|
Loading…
Reference in a new issue