From 7fdb07cacfc9c41ea656c161b79013eb31c8e631 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sun, 14 Dec 2025 01:52:15 -0800 Subject: [PATCH] fix collection card image sizing --- src/lib/components/collection/CollectionSummonCard.svelte | 3 +-- src/lib/components/collection/CollectionWeaponCard.svelte | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/components/collection/CollectionSummonCard.svelte b/src/lib/components/collection/CollectionSummonCard.svelte index feda2581..e762ed16 100644 --- a/src/lib/components/collection/CollectionSummonCard.svelte +++ b/src/lib/components/collection/CollectionSummonCard.svelte @@ -13,7 +13,7 @@ // Get transformation suffix for transcendence const transformation = $derived(summon.transcendenceStep > 0 ? '02' : undefined) - const imageUrl = $derived(getSummonImage(summon.summon?.granblueId, 'grid', transformation)) + const imageUrl = $derived(getSummonImage(summon.summon?.granblueId, 'wide', transformation)) const displayName = $derived.by(() => { const name = summon.summon?.name @@ -65,7 +65,6 @@ .card-image { position: relative; width: 100%; - aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--card-bg, #f5f5f5); diff --git a/src/lib/components/collection/CollectionWeaponCard.svelte b/src/lib/components/collection/CollectionWeaponCard.svelte index 10d0cfaa..b2bddc50 100644 --- a/src/lib/components/collection/CollectionWeaponCard.svelte +++ b/src/lib/components/collection/CollectionWeaponCard.svelte @@ -70,7 +70,6 @@ .card-image { position: relative; width: 100%; - aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--card-bg, #f5f5f5);