fixed some warnings
This commit is contained in:
@@ -108,12 +108,18 @@
|
||||
>‹</button>
|
||||
{/if}
|
||||
|
||||
<img
|
||||
src={imageBase + galleryImages[lightboxIndex]}
|
||||
alt={galleryImages[lightboxIndex]}
|
||||
class="max-h-[90vh] max-w-[90vw] rounded-lg shadow-2xl object-contain"
|
||||
<button
|
||||
type="button"
|
||||
class="contents"
|
||||
on:click|stopPropagation
|
||||
/>
|
||||
aria-label="Image {lightboxIndex + 1} of {galleryImages.length}"
|
||||
>
|
||||
<img
|
||||
src={imageBase + galleryImages[lightboxIndex]}
|
||||
alt={galleryImages[lightboxIndex]}
|
||||
class="max-h-[90vh] max-w-[90vw] rounded-lg shadow-2xl object-contain"
|
||||
/>
|
||||
</button>
|
||||
|
||||
<!-- Next -->
|
||||
{#if galleryImages.length > 1}
|
||||
@@ -241,7 +247,7 @@
|
||||
<ActivityCharts timeseries={detail.timeseries} bind:hoveredIdx {athlete} />
|
||||
</div>
|
||||
{:else if !detail}
|
||||
<div class="bg-zinc-900 rounded-xl border border-zinc-800 p-4 h-32 animate-pulse" />
|
||||
<div class="bg-zinc-900 rounded-xl border border-zinc-800 p-4 h-32 animate-pulse"></div>
|
||||
{/if}
|
||||
|
||||
<!-- Laps -->
|
||||
|
||||
Reference in New Issue
Block a user