Skip to content

Keep Workshop thread header icons inside a narrow panel - #1814

Merged
dcellison merged 1 commit into
mainfrom
fix/thread-pane-overflow
Oct 11, 2026
Merged

dcellison merged 1 commit into
mainfrom
fix/thread-pane-overflow

Conversation

@dcellison

Copy link
Copy Markdown
Owner

Closes #1813

Summary

.thread-pane gets grid-template-columns: minmax(0, 1fr).

The pane had only grid-template-rows, so its single implicit column was auto and grew to the widest child's min-content width. Since the thread header became a single no-wrap row, its min-content is the full "Thread in " label plus the icons. In a narrow context panel that is wider than the panel, so the header icons and the replies below were pushed past the right edge. Fixing the column's minimum at 0 caps it at the panel width; the label's existing overflow: hidden and text-overflow: ellipsis then truncate it.

Testing

  • npx vitest run: 289 passed (jsdom does no layout, so the tests cannot show this).
  • npm run verify-generated clean.
  • Headless Chrome on the Mac mini produced no output, so the fix has not been measured in a browser. Needs a check in a narrow panel.

@dcellison
dcellison merged commit 9cbde11 into main Oct 11, 2026
6 checks passed
@dcellison
dcellison deleted the fix/thread-pane-overflow branch October 11, 2026 17:57
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.

Keep Workshop thread header icons inside a narrow panel

2 participants