fix: invalid user urls

This commit is contained in:
Xyphyn committed 2023-09-18 17:43:53 -07:00
1 parent 12006f6076
commit 3c05139c98
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@
<!-- svelte-ignore a11y-click-events-have-key-events -->
{#if view == 'list'}
<div
class="absolute -inset-x-2 md:-inset-x-4 inset-y-2 scale-95 opacity-0 bg-slate-100 dark:bg-zinc-900
class="absolute -inset-x-2 md:-inset-x-4 inset-y-2 scale-95 opacity-0 bg-slate-50 dark:bg-zinc-900
-z-10 rounded-xl group-hover:opacity-100 group-hover:scale-100 transition-all"
/>
{/if}
@@ -17,7 +17,7 @@
<a
class="items-center inline-flex flex-row gap-1 hover:underline"
href="/u/${user.name}@${new URL(user.actor_id).hostname}"
href="/u/{user.name}@{new URL(user.actor_id).hostname}"
>
{#if avatar}
<Avatar url={user.avatar} alt={user.name} width={avatarSize} />