looking better and better

This commit is contained in:
2025-03-06 15:22:21 +01:00
parent 7bd76c1d4a
commit 27eadaeca4
9 changed files with 91 additions and 40 deletions

View File

@@ -75,7 +75,8 @@
onpointerup={onPointerUp}
onpointermove={onPointerMove}
style={`transform: translate(${vis_x}px, ${vis_y}px)`}
class="absolute flex h-32 w-32 touch-none select-none items-center justify-center rounded-full border-red-400 bg-red-400"
class={`absolute flex h-24 w-24 touch-none select-none items-center justify-center rounded-full
${selected === id ? 'bg-green-400 border-green-400' : 'bg-red-400 border-red-400'}`}
>
Tracker {id}
</div>