Skip to content

Commit

Permalink
Merge pull request #247 from seanmorley15/development
Browse files Browse the repository at this point in the history
Make image modal not reset scroll
  • Loading branch information
seanmorley15 authored Aug 19, 2024
2 parents 45a9045 + b7c406e commit 7e04c9b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/lib/components/AdventureCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@
style="display: {i === currentSlide ? 'block' : 'none'}"
>
<!-- svelte-ignore a11y-invalid-attribute -->
<a href="#" on:click={() => (image_url = image.image)}
<!-- svelte-ignore a11y-click-events-have-key-events -->
<!-- svelte-ignore a11y-no-static-element-interactions -->
<!-- svelte-ignore a11y-missing-attribute -->
<a on:click={() => (image_url = image.image)}
><img src={image.image} class="w-full h-48 object-cover" alt={adventure.name} /></a
>
<div class="flex justify-center w-full py-2 gap-2">
Expand Down

0 comments on commit 7e04c9b

Please sign in to comment.