feat: enhance image URL handling; sanitize fallback URLs and improve cover image display logic

This commit is contained in:
2026-03-01 19:26:34 +01:00
parent 3ac16be68f
commit f399f1d546
4 changed files with 17 additions and 10 deletions

View File

@@ -502,6 +502,8 @@
<span class="w-6 text-center text-xs font-600 text-text-secondary">{game.gameNumber}</span>
{#if bm?.listCoverUrl}
<img src={bm.listCoverUrl} alt="" class="h-8 w-16 rounded object-cover" />
{:else}
<div class="h-8 w-16 flex-shrink-0 rounded bg-surface-700"></div>
{/if}
<div class="min-w-0 flex-1">
{#if bm}