projects status now end-aligned

This commit is contained in:
2026-04-15 17:17:22 +02:00
parent f9b73851f3
commit 362b876892
2 changed files with 3 additions and 10 deletions

View File

@@ -36,11 +36,7 @@
<p class="tag-filter-header"># filter posts by tag:</p> <p class="tag-filter-header"># filter posts by tag:</p>
<div class="tag-filter-container"> <div class="tag-filter-container">
{#each Object.values(BlogPostTag) as tag} {#each Object.values(BlogPostTag) as tag}
{#if tag == filter} <button class="post-tag tag-filter {tag == filter ? "tag-filter-selected" : ""}" onclick={() => { setFilter(tag) }}>{tag}</button>
<button class="post-tag tag-filter tag-filter-selected" onclick={() => { setFilter(tag) }}>{tag}</button>
{:else}
<button class="post-tag tag-filter" onclick={() => { setFilter(tag) }}>{tag}</button>
{/if}
{/each} {/each}
</div> </div>
</div> </div>

View File

@@ -45,11 +45,7 @@
<p class="tag-filter-header"># filter projects by category:</p> <p class="tag-filter-header"># filter projects by category:</p>
<div class="tag-filter-container"> <div class="tag-filter-container">
{#each Object.values(ProjectCategory) as tag} {#each Object.values(ProjectCategory) as tag}
{#if tag == filter} <button class="post-tag tag-filter {tag == filter ? "tag-filter-selected" : ""}" onclick={() => { setFilter(tag) }}>{tag}</button>
<button class="post-tag tag-filter tag-filter-selected" onclick={() => { setFilter(tag) }}>{tag}</button>
{:else}
<button class="post-tag tag-filter" onclick={() => { setFilter(tag) }}>{tag}</button>
{/if}
{/each} {/each}
</div> </div>
</div> </div>
@@ -179,6 +175,7 @@
.project-status { .project-status {
font-style: italic; font-style: italic;
text-align: end;
} }
.project-category, .project-status { .project-category, .project-status {