From 082153f8cb276b9f69d058896c7663ea542ef4c6 Mon Sep 17 00:00:00 2001 From: Steffen Becker Date: Sat, 4 Jul 2026 01:01:06 +0200 Subject: [PATCH] style: improve table menue --- src/lib/components/TableBorderPicker.svelte | 19 +++--- src/lib/components/TableToolbar.svelte | 76 +++++++++++---------- 2 files changed, 50 insertions(+), 45 deletions(-) diff --git a/src/lib/components/TableBorderPicker.svelte b/src/lib/components/TableBorderPicker.svelte index 61cf660..4ba9edc 100644 --- a/src/lib/components/TableBorderPicker.svelte +++ b/src/lib/components/TableBorderPicker.svelte @@ -20,8 +20,8 @@ // draw solid, the rest as faint guides. type Seg = 'top' | 'right' | 'bottom' | 'left' | 'h' | 'v'; const SEG_PATH: Record = { - top: 'M2 2H16', right: 'M16 2V16', bottom: 'M2 16H16', left: 'M2 2V16', - h: 'M2 9H16', v: 'M9 2V16', + top: 'M1 1H17', right: 'M17 1V17', bottom: 'M1 17H17', left: 'M1 1V17', + h: 'M1 9H17', v: 'M9 1V17', }; const ALL_SEGS: Seg[] = ['top', 'right', 'bottom', 'left', 'h', 'v']; const PRESETS: { id: BorderPreset | 'none'; title: string; on: Seg[] }[] = [ @@ -70,9 +70,10 @@ aria-expanded={open} onclick={() => (open = !open)} > -