style: descendants spacing

This commit is contained in:
Ayo Ayco 2024-04-24 14:05:36 +02:00
parent 8ee28fc6d4
commit 9285c5ad3b

View file

@ -44,8 +44,8 @@
.card_content { .card_content {
& *:not(.meta) { & *:not(.meta, .descendant *) {
margin-bottom: 1em; margin-top: 1em;
} }
& img, & video { & img, & video {
@ -108,7 +108,7 @@
<summary>See more</summary> <summary>See more</summary>
<ul> <ul>
{% for descendant in thread.descendants %} {% for descendant in thread.descendants %}
<li class="card"> <li class="card descendant">
<div class="card_avatar"> <div class="card_avatar">
{% if descendant.account.avatar is defined %} {% if descendant.account.avatar is defined %}
<img class="avatar" src="{{thread.account.avatar}}" /> <img class="avatar" src="{{thread.account.avatar}}" />