1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-08-04 20:55:19 +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}
{#if adventure.image} {#if adventure.image}
<div class="flex content-center justify-center"> <div class="flex content-center justify-center">
<!-- svelte-ignore a11y-img-redundant-alt -->
<img <img
src={adventure.image} src={adventure.image}
alt={adventure.name} alt="Adventure Image"
class="w-1/2 mt-4 align-middle rounded-lg shadow-lg" class="w-full h-48 object-cover"
crossorigin="anonymous"
/> />
</div> </div>
{/if} {/if}