fix toolbar animation

This commit is contained in:
vcoppe
2025-11-10 11:11:37 +01:00
parent b2a5462372
commit 0554a85e01
2 changed files with 4 additions and 2 deletions

View File

@@ -38,7 +38,9 @@
</script>
{#if $currentTool !== null}
<div class="translate-x-1 h-full animate-in animate-out {className}">
<div
class="translate-x-1 h-full animate-in fade-in-0 zoom-in-95 slide-in-from-left-2 {className}"
>
<div class="rounded-md shadow-md pointer-events-auto">
<Card.Root class="rounded-md border-none py-2.5">
<Card.Content class="px-2.5">

View File

@@ -129,7 +129,7 @@
</Button>
</div>
{:else}
<div class="flex flex-col gap-3 w-full max-w-80 animate-in animate-out {className ?? ''}">
<div class="flex flex-col gap-3 w-full max-w-80 {className ?? ''}">
<div class="flex flex-col gap-3">
<Label class="justify-between">
<span class="flex flex-row items-center gap-1">