mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-13 05:52:42 +00:00
On Windows/Linux, the back arrow in the File (Backstage) page's side panel was clickable across the whole 200px-wide row, not just the chevron icon drawn at its left edge. Clicking anywhere in that row — plain sidebar background to a user's eye — closed the File page the same as clicking the arrow itself, with no visual cue it was clickable. Scope the click region to a narrow band around the chevron, the same width already used for the macOS chevron fix (#2972). The row still reserves its full 200x40 space for layout; only the interactive rect shrinks. Updated two tests that relied on the old oversized hit box to click at the chevron's actual position, and added a regression test asserting a click beside the arrow leaves the File page open. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>