misc: add rounding to linked instance url avatar
This commit is contained in:
1 parent
8192239dc3
commit
646199bc51
2 files changed
+3
-2
No files matched your search
@@ -21,13 +21,13 @@
|
||||
{width}
|
||||
{title}
|
||||
loading="lazy"
|
||||
class="aspect-square object-cover overflow-hidden"
|
||||
class="aspect-square object-cover overflow-hidden {$$props.class}"
|
||||
class:rounded-full={circle}
|
||||
/>
|
||||
{:else}
|
||||
<div
|
||||
style="width: {width}px; height: {width}px;"
|
||||
class="aspect-square object-cover overflow-hidden"
|
||||
class="aspect-square object-cover overflow-hidden {$$props.class}"
|
||||
class:rounded-full={circle}
|
||||
>
|
||||
{@html createAvatar(initials, {
|
||||
|
||||
@@ -55,6 +55,7 @@
|
||||
width={32}
|
||||
res={64}
|
||||
circle={false}
|
||||
class="rounded-md"
|
||||
/>
|
||||
<div class="flex flex-row items-center gap-2 max-[500px]:hidden">
|
||||
<span class="opacity-30 text-xl">/</span>
|
||||
|
||||
Reference in new issue
Block a user