polish toolbar and routing menu

This commit is contained in:
vcoppe
2024-06-10 12:06:32 +02:00
parent 5b167b09db
commit 9190d85bcd
7 changed files with 150 additions and 118 deletions

View File

@@ -29,8 +29,8 @@
class="translate-x-1 h-full {$$props.class ?? ''}"
>
<div class="rounded-md shadow-md pointer-events-auto">
<Card.Root class="border-none">
<Card.Content class="p-3">
<Card.Root class="rounded-md border-none">
<Card.Content class="p-2.5">
{#if $currentTool === Tool.ROUTING}
<Routing {popup} {popupElement} />
{:else if $currentTool === Tool.SCISSORS}