Commit Graph

5 Commits

Author SHA1 Message Date
Frudrax Cheng bdd5c65091 style: use date picker for manufacture date 2026-06-05 17:28:27 +08:00
Frudrax Cheng ab5acbc452 Open signature in a landscape overlay and fix mobile touch
The inline signature pad on the confirm page was unusable on phones:
the canvas had a fixed 480px internal width but shrank via max-width
on small screens, so pointer coordinates landed in only the top-left
fraction of the drawing buffer. Edge-of-screen strokes also collided
with iOS Safari back-swipe.

Tapping the new signature trigger now opens a full-screen overlay
that rotates to landscape (via 100dvh/100dvw + CSS rotate on portrait
phones, plus an opportunistic screen.orientation.lock) so customers
get the widest possible signing area, away from the system edge.

Also swap the hand-rolled drawing logic for signature_pad, with a
ResizeObserver-driven resize that preserves strokes via
toData/fromData and scales the canvas to devicePixelRatio.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 09:11:05 +08:00
cynosura 54d6b31da6 Update package.json 2026-03-02 13:01:05 +08:00
cynosura ff767837e7 fix package.json 2026-02-07 17:06:29 +08:00
cynosura 5fc7b33b3b Initial commit 2026-02-06 14:06:49 +08:00