summaryrefslogtreecommitdiff
path: root/ui/lib/components
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-02-21 16:27:00 -0500
committerOwen Jacobson <owen@grimoire.ca>2025-02-21 16:27:00 -0500
commit5245aba8b80f458d25eb3249c0b8cc3fe744311d (patch)
treea55543b664dc97230bffa06b6e14ce1cbae79821 /ui/lib/components
parent01368abc9893caa7acd3d632fd7a2d4284e64167 (diff)
Be a bit more careful with the nesting of anchors and list items.
Browsers cope with weird nestings mostly fine, but there's no upside for us in testing that.
Diffstat (limited to 'ui/lib/components')
-rw-r--r--ui/lib/components/Channel.svelte8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/lib/components/Channel.svelte b/ui/lib/components/Channel.svelte
index c73340f..4f908d2 100644
--- a/ui/lib/components/Channel.svelte
+++ b/ui/lib/components/Channel.svelte
@@ -2,13 +2,13 @@
let { id, name, active, hasUnreads } = $props();
</script>
-<a href="/ch/{id}">
- <li class:active>
+<li class:active>
+ <a href="/ch/{id}">
{#if hasUnreads}
<span class="badge has-unreads">❦</span>
{:else}
<span class="badge has-no-unreads">¶</span>
{/if}
<span>{name}</span>
- </li>
-</a>
+ </a>
+</li>