mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-28 17:29:36 +02:00
Image fixes
This commit is contained in:
parent
2ace704066
commit
c58c679d5f
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue