1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-20 21:39:37 +02:00

Add hover to adventure card

This commit is contained in:
Sean Morley 2024-08-08 13:52:55 -04:00
parent 1fb4c0a642
commit e51e072722
2 changed files with 5 additions and 3 deletions

View file

@ -154,9 +154,12 @@
<div class="card-body">
<div class="flex justify-between">
<h2 class="text-2xl font-semibold -mt-2 break-words text-wrap">
<button
on:click={() => goto(`/adventures/${adventure.id}`)}
class="text-2xl font-semibold -mt-2 break-words text-wrap hover:underline"
>
{adventure.name}
</h2>
</button>
</div>
<div>
{#if adventure.type == 'visited' && user?.pk == adventure.user_id}