Browse Source

Add some margin above a group's sidebar text

merge-requests/126/merge
Deimos 4 years ago
parent
commit
071f1e04f6
  1. 4
      tildes/scss/modules/_group.scss
  2. 2
      tildes/tildes/templates/topic_listing.jinja2

4
tildes/scss/modules/_group.scss

@ -34,6 +34,10 @@
} }
} }
.group-sidebar-text {
margin-top: 1rem;
}
.group-subscription { .group-subscription {
display: flex; display: flex;
align-items: center; align-items: center;

2
tildes/tildes/templates/topic_listing.jinja2

@ -223,7 +223,7 @@
{% endif %} {% endif %}
{% if group.sidebar_rendered_html %} {% if group.sidebar_rendered_html %}
{{ group.sidebar_rendered_html|safe }}
<div class="group-sidebar-text">{{ group.sidebar_rendered_html|safe }}</div>
{% endif %} {% endif %}
{% if subgroups %} {% if subgroups %}

Loading…
Cancel
Save