mirror of https://github.com/VERT-sh/VERT.git
optimize clsx function to make it more readable
This commit is contained in:
parent
b4004006bf
commit
c0925bf6de
|
|
@ -37,7 +37,9 @@
|
||||||
ondragover={() => (dragOver = true)}
|
ondragover={() => (dragOver = true)}
|
||||||
ondragleave={() => (dragOver = false)}
|
ondragleave={() => (dragOver = false)}
|
||||||
class={clsx(
|
class={clsx(
|
||||||
"w-full h-80 max-w-screen-lg flex items-center justify-center cursor-pointer flex-col border-2 border-solid border-foreground-muted-alt rounded-2xl hover:scale-95 hover:opacity-70 transition-all duration-150 ease-out",
|
"w-full h-80 max-w-screen-lg flex items-center justify-center cursor-pointer flex-col",
|
||||||
|
"border-2 border-solid border-foreground-muted-alt rounded-2xl",
|
||||||
|
"hover:scale-95 hover:opacity-70 transition-all duration-150 ease-out",
|
||||||
{
|
{
|
||||||
"scale-95 opacity-70": dragOver,
|
"scale-95 opacity-70": dragOver,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue