type: claude-session · area: taiganjp · tags: auto-capture

session 2026 06 23 a1789d50

Claude Session Summary — TaiganJP mobile h-scroll fix (2026-06-23)

Auto-captured from a Claude Code session (cwd: C:\Users\Benjamin Eichhorn\Desktop\WIP). Review, then file or delete.

Session Purpose

Fix a ~262px phantom horizontal scroll appearing on every guide page at mobile width (380px).

Decisions Made

Decision Rationale
Suppress the glossary tooltip at ≤640px (@media (hover: none), (max-width: 40rem) → display:none) On phones there's no hover; the term's /glossary/ link is the real UI, so removing the box guarantees scrollWidth=0 regardless of how the device reports hover
Add overflow-x: clip backstop on main (not html/body) Contains the 641–~1375px band; clip on the root only hides the scrollbar while scrollWidth still overflows; clip (not hidden) avoids breaking position:sticky

Key Facts Established

Action Items

Files / Artifacts Created

Links