UPD: Animate drag

This commit is contained in:
Robert Kossessa
2024-02-07 02:13:16 +01:00
parent dd472742dd
commit 364b4578cb
6 changed files with 118 additions and 28 deletions

View File

@@ -3,7 +3,7 @@
class="flex-1 flex flex-col items-center rounded-lg p-2 gap-2 font-heading transition-all border"
:class="{'text-black bg-zinc-300 hover:bg-zinc-200 border-zinc-100': selected,
'hover:bg-zinc-800 text-muted-foreground border-transparent' : !selected}"
@click="$emit('select'); $refs.title.scramble()">
@click="$emit('select'); $refs.title?.scramble()">
<slot v-if="$slots['replace']" name="replace" />
<template v-else>
<img