Tables force the whole page to scroll sideways on narrow viewports #69
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found by an actual browser pass at 480px wide (Chrome DevTools MCP), which is what
5c62b43bexisted to do.The Branch and Updated columns are pushed off-screen and the body itself scrolls horizontally, which is the thing a page must never do.
Diffs get this right and tables do not.
preblocks carryoverflow-x: auto, so a wide diff scrolls inside its own block — verified on/git-collab/diff/15a970d1at the same width:pageScrollsSideways = falsewith a 1231px-widepre. Tables have no equivalent wrapper, andtable { width: 100% }plus seven columns exceeds the viewport.Fix: wrap every table in a container with
overflow-x: auto, same asprealready has. Affects the patches, issues, commits and releases lists.No test could have caught this: the HTML is well-formed and every assertion about content passes. It only shows up when something renders at a width.
Migrated from git-collab issue
8e71647105f3f0ae4cc6ea5986c1c9850374f88b.Original author: a73x dev@a73x.sh.
Close reason: merged in patch
34cf3f37