Skip to content
Snippets Groups Projects
Commit 6ce578e5 authored by Malin Haugland Høli's avatar Malin Haugland Høli
Browse files

refactor: :ambulance: Update design on cards

parent 2f6bf02f
No related branches found
No related tags found
3 merge requests!66Final merge,!50fix(styling):,!4Pipeline fix
......@@ -22,8 +22,8 @@ const handleCardClick = () => {
<template>
<div
:class="{ 'bg-green-200 cursor-default': isCompleted }"
class="border-2 border-black rounded-xl p-4 flex flex-col items-center gap-2 cursor-pointer w-52 overflow-hidden"
:class="{ 'cursor-default': isCompleted }"
class="border-2 border-lime-400 rounded-xl p-4 flex flex-col items-center gap-2 cursor-pointer w-52 overflow-hidden transition-transform duration-100 ease-in-out hover:scale-105 hover:opacity-90"
@click="handleCardClick"
>
<h3 class="my-0 mx-6">{{ challengeInstance.title }}</h3>
......
......@@ -28,8 +28,8 @@ const handleCardClick = () => {
<template>
<div
:class="{ 'bg-green-200 cursor-default': isCompleted }"
class="border-2 border-black rounded-xl p-4 flex flex-col items-center gap-2 cursor-pointer w-52 overflow-hidden"
:class="{ 'cursor-default': isCompleted }"
class="border-2 border-lime-400 rounded-xl p-4 flex flex-col items-center gap-2 cursor-pointer w-52 overflow-hidden transition-transform duration-100 ease-in-out hover:scale-105 hover:opacity-90"
@click="handleCardClick"
>
<h3 class="my-0 mx-6">{{ goalInstance.title }}</h3>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment