From ab5e29cdb8da51f0fd494962e80a104889dee275 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 1 Jul 2026 07:09:23 +0000 Subject: [PATCH 1/2] fix(configurator): keep preview toolbar to a single row on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The toolbar used flex-wrap below md, so on narrow viewports its template tabs, width/theme controls, motion select, and refresh/ external-link buttons wrapped onto 2-3 lines — eating a large chunk of a short mobile screen before any preview content was visible. Switch to a fixed-height single row that scrolls horizontally instead of wrapping (h-10, flex-nowrap, overflow-x-auto), with shrink-0 on every control group so none of them get squeezed to near-invisibility competing for space in the nowrap row. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01SQXr34nocCi1jrGcp5TPVm --- .../src/components/shell/PreviewPanel.svelte | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/configurator/src/components/shell/PreviewPanel.svelte b/configurator/src/components/shell/PreviewPanel.svelte index 378c0bb1..a519c983 100644 --- a/configurator/src/components/shell/PreviewPanel.svelte +++ b/configurator/src/components/shell/PreviewPanel.svelte @@ -558,10 +558,11 @@ ${BODIES[template]}
- -
+ +
-
+
{#each TEMPLATES as t (t.id)}
-
+