adjust size of avatar in the header

This commit is contained in:
Nikita Galaiko 2023-02-27 13:47:09 +01:00
parent 6f3b1268f4
commit e3bb0da7c0
No known key found for this signature in database
GPG Key ID: EBAB54E845BA519D

View File

@ -27,10 +27,10 @@
</div>
<div class="ml-6"><Breadcrumbs /></div>
<div class="flex-grow" />
<a href="/users/" class="flex items-center gap-2 mr-4 font-medium hover:text-zinc-200">
<a href="/users/" class="flex items-center gap-1 mr-4 font-medium hover:text-zinc-200">
{#if $user}
{#if $user.picture}
<img class="inline-block w-6 h-6 rounded-full" src={$user.picture} alt="Avatar" />
<img class="inline-block w-5 h-5 rounded-full" src={$user.picture} alt="Avatar" />
{/if}
<span>{$user.name}</span>
{:else}