mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4481
Loading…
Add table
Add a link
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/3156
Author: @ctr-137
Created: 10/19/2026
Status: ❌ Closed
Base:
main← Head:web-mobile-toolcall-overflow-2971📝 Commits (1)
fa05c84web: a tool call no longer widens the page on phones (#2971)📊 Changes
1 file changed (+4 additions, -3 deletions)
View changed files
📝
serve/web/app.css(+4 -3)📄 Description
What it changes
serve/web/app.css, three rules:.viewgetsmin-width: 0. As a flex item ofmainit otherwise keepsmin-width: auto, so its min-content width — raised by a longnowraptool name — makes the whole panel, and the page, wider than the viewport..tool-call > summarygetsoverflow: hidden..tool-call__namegetsmin-width: 0; overflow: hidden; text-overflow: ellipsis, so the name shrinks and ellipsizes instead of forcing the row wider.The preview already had the same treatment.
What it leaves alone
Layout only: no markup, JS or API change, and the desktop layout is unchanged.
Validation
Environment:
main@477ac13c, headless Edge (puppeteer-core) on Windows 11.Headless Edge (puppeteer-core), the app's own
tokens.css,components.cssandapp.css, and the tool-call markup fromserve/web/app.js:scrollWidth=75241275239016801680With a 442 px tool name, the name ellipsizes (client width 211 at 412 px, 189 at 390 px) and the page still fits; at 1680 px it is shown whole.
Reported by @TitanMamo in #2971, whose root-cause analysis and patch this follows.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.