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}
|
{width}
|
||||||
{title}
|
{title}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
class="aspect-square object-cover overflow-hidden"
|
class="aspect-square object-cover overflow-hidden {$$props.class}"
|
||||||
class:rounded-full={circle}
|
class:rounded-full={circle}
|
||||||
/>
|
/>
|
||||||
{:else}
|
{:else}
|
||||||
<div
|
<div
|
||||||
style="width: {width}px; height: {width}px;"
|
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}
|
class:rounded-full={circle}
|
||||||
>
|
>
|
||||||
{@html createAvatar(initials, {
|
{@html createAvatar(initials, {
|
||||||
|
|||||||
@@ -55,6 +55,7 @@
|
|||||||
width={32}
|
width={32}
|
||||||
res={64}
|
res={64}
|
||||||
circle={false}
|
circle={false}
|
||||||
|
class="rounded-md"
|
||||||
/>
|
/>
|
||||||
<div class="flex flex-row items-center gap-2 max-[500px]:hidden">
|
<div class="flex flex-row items-center gap-2 max-[500px]:hidden">
|
||||||
<span class="opacity-30 text-xl">/</span>
|
<span class="opacity-30 text-xl">/</span>
|
||||||
|
|||||||
Reference in new issue
Block a user