fix: tags layout and overflow

This commit is contained in:
Konstantin 2025-05-06 19:34:10 +02:00
parent 00c7db9bec
commit 9d5f6bc5fb
Signed by: konstantin
GPG key ID: A128B78773E41ACE
4 changed files with 7 additions and 6 deletions

View file

@ -54,12 +54,12 @@
{% with tags=page.tags.all %}
{% if tags %}
<div class="flex items-center gap-x-4 text-xs my-6">
<div class="flex items-center justify-center gap-x-4 text-xs my-6">
<div class="tags">
<h2 class="sr-only">Tags</h2>
<ul class="flex">
{% for tag in tags %}
<li class="space-x-2"><span class="emoji">🏷</span>
<li><span class="emoji">🏷</span>
<a class="pr-2" href="{% slugurl 'tags' %}?tag={{ tag }}">{{ tag }}</a>
</li>
{% endfor %}