1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-28 17:29:36 +02:00

Image fixes

This commit is contained in:
Sean Morley 2024-06-07 21:49:58 +00:00
parent 2ace704066
commit c58c679d5f

View file

@ -42,9 +42,10 @@
> >
{#if adventure.imageUrl && adventure.imageUrl.length > 0} {#if adventure.imageUrl && adventure.imageUrl.length > 0}
<figure> <figure>
<!-- svelte-ignore a11y-img-redundant-alt -->
<img <img
src={adventure.imageUrl} src={adventure.imageUrl}
alt="Shoes" alt="No image available"
class="w-full h-48 object-cover" class="w-full h-48 object-cover"
/> />
</figure> </figure>
@ -74,7 +75,7 @@
{/each} {/each}
</ul> </ul>
{/if} {/if}
<div class="card-actions justify-end"> <div class="card-actions justify-end mt-2">
{#if type == "mylog"} {#if type == "mylog"}
<button class="btn btn-primary" on:click={moreInfo} <button class="btn btn-primary" on:click={moreInfo}
><iconify-icon icon="mdi:launch" class="text-2xl" ><iconify-icon icon="mdi:launch" class="text-2xl"