Skip to content

fix(web): the composer never scrolls horizontally and sidebar rows go full-width (CL-9785) - #1085

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-9785-fixweb-composer-horizontal-scrollbar-and-smushed-sidebar
Oct 3, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-9785-fixweb-composer-horizontal-scrollbar-and-smushed-sidebar

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

What changed and why: the shared composer textarea could show a horizontal scrollbar and sat cramped in its pill (overflow unset, 4px gap). It now clips horizontally, scrolls vertically only past max-height, and gets roomier padding. Sidebar rows are explicitly full-width so hover and selected share the same shape and radius. Two CSS files, no logic. Fixes CL-9785.

E2E proof: e2e/browser/composer-layout.test.ts types a 400-char unbroken token into .chat-composer-input and asserts scrollWidth <= clientWidth + overflow-x hidden; then creates a bench and asserts every populated .shell-ch-row is full-width (offsetWidth == container width), non-zero radius, active row present, radius stable on hover.

Known follow-up (not in diff): local .mockups/components.css .composer-box is still gap 4px / padding 6px while the app is now 8px/8px. .mockups/ is gitignored (never committed), so this needs a local-mockup alignment pass per DESIGN.md, not a PR change.

@linear-code

linear-code Bot commented Oct 3, 2026

Copy link
Copy Markdown

CL-9785

@TheGreatAxios
TheGreatAxios merged commit 2161354 into main Oct 3, 2026
3 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-9785-fixweb-composer-horizontal-scrollbar-and-smushed-sidebar branch October 3, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant