1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-02 19:55:18 +02:00

image fix

This commit is contained in:
Sean Morley 2024-07-08 14:52:57 -04:00
parent f3fb01d341
commit f51dc6c82d

View file

@ -90,10 +90,12 @@
{/if}
{#if adventure.image}
<div class="flex content-center justify-center">
<!-- svelte-ignore a11y-img-redundant-alt -->
<img
src={adventure.image}
alt={adventure.name}
class="w-1/2 mt-4 align-middle rounded-lg shadow-lg"
alt="Adventure Image"
class="w-full h-48 object-cover"
crossorigin="anonymous"
/>
</div>
{/if}