mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2971] [GUI] Web app: page overflows sideways on phones when a tool call appears #1195
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#1195
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?
Originally created by @TitanMamo on GitHub (Oct 17, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2971
Area
[GUI] - the web app (the phone/browser UI served by the engine,
serve/web)Desktop app, Terminal or source?
Source (the web app served by the engine; re-tested on the v0.2.0-beta web assets)
What happened
On a phone (412 px viewport) the web app's page grows wider than the screen as soon as a tool call appears in an answer:
document.documentElement.scrollWidthis 770 where the viewport is 412. Content spills off-screen - the tool row's name/preview run past the right edge, and the header renders at the viewport width while everything below it is laid out wider.Smallest steps or command that reproduce it
A page with the 0.2.0-beta
serve/web/app.cssand the exact DOMtoolHtml()renders (.st-msg .st-bubble > details.st-collapse.tool-call > summarywith.tool-call__name,.tool-call__preview, badges), opened at a 412 px viewport.Expected: the page stays at the viewport width (
scrollWidth412).Actual:
scrollWidth770 on the 0.2.0-beta CSS (same on 0.1.45).Reproduction status
Reproduced locally: 0.2.0-beta web assets, static reproduction of the tool row (headless browser, 412 px viewport). The live app on 0.1.45 showed the same behavior in a real session (MCP web-search tool call).
Strata version
0.2.0-beta (engine 0.1.45.3) - re-tested on the v0.2.0-beta web assets
Graphics card, memory and system
NVIDIA RTX 3060 12 GB; 31 GB RAM; Void Linux (kernel 6.18); phone viewport 412 px (Chrome)
Model, size and settings
Any model; the tool row appears for MCP tool calls (e.g. the firecrawl web search)
Evidence
Headless measurement at a 412 px viewport, 0.2.0-beta
app.css:.view { min-width: 0 },.tool-call > summary { overflow: hidden },.tool-call__name { min-width: 0; overflow: hidden; text-overflow: ellipsis }Root cause (unchanged in 0.2.0-beta):
.viewis a flex item ofmain { display: flex; }and keeps the defaultmin-width: auto, so its min-content - raised by thewhite-space: nowraptool name - makes the whole panel and the page wider than the viewport..tool-call > summaryhasmin-width: 0but nooverflow: hidden..tool-call__namehaswhite-space: nowrapwithoutmin-width: 0; overflow: hidden; text-overflow: ellipsis.(The preview already has that treatment.)
@ctr-137's PR #3156 carries exactly these three rules for this issue.
@CC-David-CC commented on GitHub (Oct 17, 2026):
can confirm your issue and your suggested fix
@intdev32 commented on GitHub (Oct 18, 2026):
This is an issue that reproduces immediately just by playing around in Strata web's Chat on my phone while lying in bed. It's quite inconvenient that it still hasn't been fixed yet.
@TitanMamo Thanks for reporting this issue.
@CC-David-CC commented on GitHub (Oct 18, 2026):
Wait people actually use the web app for more than quick tests?
Oh man now I feel bad. I need to fix my version of the web app and see if main wants
@ctr-137 commented on GitHub (Oct 19, 2026):
Opened #3156 with this fix — the two rules from your analysis:
.viewgetsmin-width: 0, the tool summary clips, and.tool-call__nameellipsizes. Reproduced the 752 px scrollWidth at 412 px on currentmain, and measured it back at the viewport after the change (412/390/1680). Thanks for the exact root cause and patch.@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.
@TitanMamo commented on GitHub (Oct 19, 2026):
/reopen
@github-actions[bot] commented on GitHub (Oct 19, 2026):
Not reopened yet. Still missing:
Edit the issue and comment
/reopenagain. Details: CONTRIBUTING.md@TitanMamo commented on GitHub (Oct 19, 2026):
/reopen
@github-actions[bot] commented on GitHub (Oct 19, 2026):
Reopened, thank you. A maintainer will pick it up from here.