fix: Tags exceed screen width
This commit is contained in:
parent
d0411d8011
commit
82d6c2f4c3
|
@ -12,7 +12,7 @@
|
||||||
<h1>Tags</h1>
|
<h1>Tags</h1>
|
||||||
|
|
||||||
<hr class="separator" />
|
<hr class="separator" />
|
||||||
<div id="catalog" class="content">
|
<div id="tags">
|
||||||
{#each allTags as tag}
|
{#each allTags as tag}
|
||||||
<a class="tag" href="/tag/{tag}">{tag}</a>
|
<a class="tag" href="/tag/{tag}">{tag}</a>
|
||||||
{/each}
|
{/each}
|
||||||
|
@ -20,7 +20,11 @@
|
||||||
<hr class="separator" />
|
<hr class="separator" />
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
#tags {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
.tag {
|
.tag {
|
||||||
|
display: inline-block;
|
||||||
margin-left: 1em;
|
margin-left: 1em;
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue