1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-22 14:29:36 +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

@ -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

View file

@ -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}