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:
parent
1fb4c0a642
commit
e51e072722
2 changed files with 5 additions and 3 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue