Repository navigation
fix(cmux-next passwords): the header and saved logins fit a narrow pane - #22904
Conversation
…ne; header controls share a height (red) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c2a-ee79-7910-9d76-ef0536b9880d&host=huge-blue
… login's details wrap; header controls share one height At 360px the title shrank to nothing and Import from Browser ran off the edge, usernames squeezed to one letter beside their badges, last-used and actions, and the header's search, selects and buttons were 25 to 33px tall in one row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c2a-ee79-7910-9d76-ef0536b9880d&host=huge-blue
|
owner: 01a15c2a-ee79-7910-9d76-ef0536b9880d |
… rows stay one line Wrapping every .pw-row dropped a long site name onto its own line under the badge in passkey and exception rows. The test now gives those rows a long site name at 360px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c2a-ee79-7910-9d76-ef0536b9880d&host=huge-blue
…ance, not rounded pixels Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Agent-Session: https://cmux.com/deeplink/agent?harness=claude&session=01a15c2a-ee79-7910-9d76-ef0536b9880d&host=huge-blue
|
Bead |
|
cmux status (one comment, edited in place; each line is updated by the job that owns it) Review App of this head (app.zip, kept 1 day)
Unclear: CI failed on
Not re-run automatically: Written by red: web / Web status; NEW: green on the base 675e71f; do not merge until green; see lane-rules Tour of |
|
Shipped in:
|
|
Shipped in:
|
Layout pass, running list (lane: layout-pass; full list in cmuxterm-hq
knowledge/layout-pass.md)What
At 360px, the gallery's narrow width and a standalone pane:
.pw-titleset toflex: 1 0 auto. The title keeps its line and the actions wrap under it.flex: 1 1 8em. The badges, last-used and actions go under the name when they don't fit, and the actions stay right-aligned.At 900px nothing wraps. The only visible change there is the equal control heights.
Test
CMUX_BROWSER_TESTS=1 bun test test/passwords-narrow.test.ts(real Chromium, the page's own?mockdev entry).Results:
Screenshots
Gallery
pages.passwords/lists. "Before" is the base gallery; "after" is the same page with this PR'sstyles.cssapplied.Observed / Not run
prepush-gate.py: no new violations.vp fmt --checkandoxlintare clean on both files.bun run checkand a gallery build, because heavy jobs moved off huge-blue.Changelog
Fixed: in a narrow pane, the Passwords page keeps its title, actions and usernames readable.
Agent session: huge-blue
🤖 Generated with Claude Code