From 2d61225ee40a26084ff4a294e619d6c4d51e2522 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Fri, 17 Apr 2026 13:14:07 +0700 Subject: [PATCH] fix(ui): resolve overlapping panels and buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - lift DrawToolbar above ColorPicker (bottom 80 → 188) - move Import button below CanvasControls (top 12 → 68) - hide Import button while panel open; panel has its own close --- src/client/App.svelte | 16 +++++++++------- src/client/components/DrawToolbar.svelte | 3 +-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/client/App.svelte b/src/client/App.svelte index ff1a99a..5ebf5e5 100644 --- a/src/client/App.svelte +++ b/src/client/App.svelte @@ -179,10 +179,12 @@ selectedColor = i} /> - + {#if !importerOpen} + + {/if} .toolbar { position: fixed; - bottom: 80px; + bottom: 188px; left: 50%; transform: translateX(-50%); display: flex; @@ -104,7 +104,6 @@ @media (max-width: 600px) { .toolbar { - bottom: 72px; padding: 6px 8px; gap: 4px; }