Browse Source

Indent subgroups on group listing (fixes #381)

merge-requests/82/head
deing 6 years ago
parent
commit
e704b88fd2
No known key found for this signature in database GPG Key ID: DA34C790D267C164
  1. 6
      tildes/scss/modules/_group.scss
  2. 2
      tildes/tildes/templates/groups.jinja2

6
tildes/scss/modules/_group.scss

@ -14,6 +14,12 @@
.group-subscription-count {
margin-bottom: 0.2rem;
}
@for $indent-level from 1 through 4 {
tr.group-level-#{$indent-level} td:first-child {
padding-left: #{$indent-level}rem;
}
}
}
.group-list-description {

2
tildes/tildes/templates/groups.jinja2

@ -22,7 +22,7 @@
</thead>
<tbody>
{% for group in groups %}
<tr>
<tr class="group-level-{{ group.path|length - 1 }}">
<td>
{{ group_linked(group.path) }}
{% if group.short_description %}

Loading…
Cancel
Save