Add hover to adventure card
This commit is contained in:
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}
|
||||||
|
|||||||
Reference in New Issue
Block a user