From e56ee9611d9604206bf679b6e87caee567adb593 Mon Sep 17 00:00:00 2001 From: Samuel Prevost Date: Sun, 26 Apr 2026 17:57:25 +0200 Subject: [PATCH] fix(mobile): stack header, declutter stepper, and reflow chrome The header now stacks on mobile: title row up top, stepper on its own row below, and the theme toggle moves into the footer's right edge so it isn't competing for space with the title or stepper. Stepper labels drop the leading "1." prefix (saves ~8ch across five steps) and the mobile container has overflow-x-auto so very narrow screens scroll instead of breaking layout. Clear-cache button on the upload card collapses to icon-only on mobile so the centered "Load Source Image" title doesn't sit underneath it; the confirm state still reads "Sure?" so the destructive prompt is visible at a glance. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/App.vue | 76 ++++++++++++++++++++++---------- src/components/ImageUpload.vue | 26 ++++++++--- src/components/StepIndicator.vue | 8 ++-- 3 files changed, 76 insertions(+), 34 deletions(-) diff --git a/src/App.vue b/src/App.vue index e8636f7..0877451 100644 --- a/src/App.vue +++ b/src/App.vue @@ -25,28 +25,45 @@ const store = useAppStore() >Fork me on Gitea +
-
-
-
- -

- Skwik -

- +
+
+ +
+ +

+ Skwik +

+ Perspective Correction +
+
-
+ +
-
@@ -62,17 +79,28 @@ const store = useAppStore() + diff --git a/src/components/ImageUpload.vue b/src/components/ImageUpload.vue index 313d29e..fa4652a 100644 --- a/src/components/ImageUpload.vue +++ b/src/components/ImageUpload.vue @@ -296,16 +296,25 @@ function onFileSelect(e: Event) { primary drop target. Two-step confirm: first click arms it; second click within CLEAR_CONFIRM_TIMEOUT_MS commits. --> + Load Source Image diff --git a/src/components/StepIndicator.vue b/src/components/StepIndicator.vue index d9db29e..ae098f6 100644 --- a/src/components/StepIndicator.vue +++ b/src/components/StepIndicator.vue @@ -29,10 +29,10 @@ function handleClick(num: AppStep) {