Merge pull request #338 from sevonj/avatar-squish

Stop avatar squish
This commit is contained in:
Xylight authored and GitHub committed 2024-07-11 15:32:30 -07:00
commit a9a0bce4b2
1 file changed
+2 -2
+2 -2
View File
@@ -40,7 +40,7 @@
{width} {width}
{title} {title}
loading="lazy" loading="lazy"
class="aspect-square object-cover overflow-hidden {$$props.class}" class="aspect-square object-cover overflow-hidden {$$props.class} flex-shrink-0"
style="width: {width}px; height: {width}px;" style="width: {width}px; height: {width}px;"
class:rounded-full={circle} class:rounded-full={circle}
class:rounded-md={!circle} class:rounded-md={!circle}
@@ -48,7 +48,7 @@
{: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 {$$props.class}" class="aspect-square object-cover overflow-hidden {$$props.class} flex-shrink-0"
class:rounded-full={circle} class:rounded-full={circle}
class:rounded-md={!circle} class:rounded-md={!circle}
> >