fix(ui): proper margin for paragraphs

This commit is contained in:
trisua 2025-04-08 23:33:22 -04:00
parent bfcb35e18b
commit 0ef6d0ddca
3 changed files with 10 additions and 2 deletions

View file

@ -149,6 +149,14 @@ article {
} }
/* typo */ /* typo */
p {
margin-bottom: 1rem;
}
.no_p_margin p:last-child {
margin-bottom: 0;
}
.name { .name {
max-width: 200px; max-width: 200px;
overflow: hidden; overflow: hidden;

View file

@ -168,7 +168,7 @@ show_community and post.community != config.town_square %}
{% endif %} {% endif %}
</div> </div>
<span id="post-content:{{ post.id }}" <span id="post-content:{{ post.id }}" class="no_p_margin"
>{{ post.content|markdown|safe }}</span >{{ post.content|markdown|safe }}</span
> >
</div> </div>

View file

@ -8,7 +8,7 @@
</div> </div>
<div class="card flex flex-col gap-4"> <div class="card flex flex-col gap-4">
<p>{{ error_text }}</p> <span>{{ error_text }}</span>
<div class="w-full flex gap-2"> <div class="w-full flex gap-2">
<a class="button primary" href="/">Home</a> <a class="button primary" href="/">Home</a>
<a class="button secondary" href="javascript:history.back()" <a class="button secondary" href="javascript:history.back()"