anomalyco / anomalyco/opencode
[Desktop] Expand/collapse all button overflows with longer locale labels
@Brendonovich is already working on this.
Since Sep 12, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
With the UI language set to pt-BR, the "Expandir tudo" (Expand all) button in the session review header overflows its border: the last character is rendered outside the button.
The button in packages/session-ui/src/components/session-review.tsx has a hardcoded width (class="w-[106px] justify-start"). "Expand all" fits in 106px, but longer translations do not, and since the label is not truncated it overflows over the border.
![expandir tudo overflowing the button border]
Plugins
none
OpenCode version
OpenCode Desktop 1.18.29
Steps to reproduce
- Set the UI language to pt-BR (or any locale whose label is wider than 106px)
- Open a session with file changes and go to the "Files changed" tab
- Look at the "Expandir tudo" button in the "Changes from last turn" header
Screenshot and/or share link
See image above.
Operating System
CachyOS (Arch Linux), KDE Plasma 6.7.5, Wayland
Terminal
n/a (desktop app)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.