mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-22 22:39:36 +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
1
LICENSE
1
LICENSE
|
@ -14,7 +14,6 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 3, 29 June 2007
|
Version 3, 29 June 2007
|
||||||
|
|
|
@ -154,9 +154,12 @@
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="flex justify-between">
|
<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}
|
{adventure.name}
|
||||||
</h2>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
{#if adventure.type == 'visited' && user?.pk == adventure.user_id}
|
{#if adventure.type == 'visited' && user?.pk == adventure.user_id}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue