Fix skinny profile circles

This commit is contained in:
Jon Staab
2025-12-02 13:49:04 -08:00
parent 1a2c83e49b
commit cdfb502e6e
3 changed files with 9 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
# Changelog
# Current
* Fix skinny profile images
# 1.6.0
* Switch back to indexeddb to fix memory and performance

View File

@@ -7,7 +7,7 @@ android {
applicationId "social.flotilla"
minSdk rootProject.ext.minSdkVersion
targetSdk rootProject.ext.targetSdkVersion
versionCode 35
versionCode 36
versionName "1.6.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {

View File

@@ -14,5 +14,8 @@
{#if src.includes("image/svg") || src.endsWith(".svg")}
<Icon icon={src} {size} class={props.class} />
{:else}
<img {src} {alt} class="h-{size} w-{size} aspect-square object-cover {props.class}" />
<img
{src}
{alt}
class="h-{size} w-{size} min-w-{size} min-h-{size} aspect-square object-cover {props.class}" />
{/if}