fix: Tags exceed screen width

This commit is contained in:
Leni Aniva 2024-10-10 15:03:02 -07:00
parent d0411d8011
commit 82d6c2f4c3
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,7 @@
<h1>Tags</h1>
<hr class="separator" />
<div id="catalog" class="content">
<div id="tags">
{#each allTags as tag}
<a class="tag" href="/tag/{tag}">{tag}</a>
{/each}
@ -20,7 +20,11 @@
<hr class="separator" />
<style>
#tags {
display: inline-block;
}
.tag {
display: inline-block;
margin-left: 1em;
margin-right: 1em;
}