Indent subgroups on group listing page

This commit is contained in:
deing
2019-09-06 16:34:50 +02:00
committed by Deimos
parent 2e955fb69e
commit eb03fdf940
2 changed files with 7 additions and 1 deletions

View File

@@ -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 {

View File

@@ -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 %}