mirror of
https://gitlab.com/tildes/tildes.git
synced 2026-04-17 06:48:36 +02:00
Indent subgroups on group listing page
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user