stop avatar squish

This commit is contained in:
sevonj committed 2024-06-20 17:08:56 +03:00
1 parent 784d4d48f6
commit beca01782d
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}
> >