mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-08-02 19:55:18 +02:00
image fix
This commit is contained in:
parent
f3fb01d341
commit
f51dc6c82d
1 changed files with 4 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue