From ed71ccf46bd4ccca5b261f14f8a2edd9ae963602 Mon Sep 17 00:00:00 2001 From: dev Date: Tue, 2 Jun 2026 21:42:47 +0200 Subject: [PATCH] fix(words): drawer toggle overlap + faithful preview (columns, headings) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Three demo/chrome fixes: - Drawer inspector: the open toggle (SlidersHorizontal) stayed mounted while the panel was open, colliding with the panel's own X close in the same corner. Render it only while closed; the panel's header X closes it. - Preview columns: serialize as
, which no preview rule matched, so they stacked. Mirror the editor's row flex. - Preview headings: were --font-size-2xl/xl/lg at weight 700 — louder than the editor. Reference the SAME recipe tokens (xl, lg+4, lg; semibold; heading line-height + primary color) so Preview reads like Edit. Verified editor + preview both render h1=28px/600, h2=24px/600. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/uix/eidos/components/words/words.svelte | 29 ++++++++------- web/routes/uix/components/words/+page.svelte | 38 +++++++++++++++----- 2 files changed, 46 insertions(+), 21 deletions(-) diff --git a/src/uix/eidos/components/words/words.svelte b/src/uix/eidos/components/words/words.svelte index e1ec37ba1..59af48adb 100644 --- a/src/uix/eidos/components/words/words.svelte +++ b/src/uix/eidos/components/words/words.svelte @@ -87,19 +87,22 @@ {:else if inspector === 'drawer'} - + + {#if !drawerOpen} + + {/if}