You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
app: model tooltip is locked to 180px and truncates its content #58200
The V2 model tooltip is hard-coded to w-[180px]. Model names and values are truncated with an ellipsis even when there is room on screen, and longer localized values (for example the reasoning row) can run out of space inside the tooltip.
The attached screenshot shows the same fixed-width failure mode in the Console models view: the "Input & Output" value escapes the tooltip because its content box is locked to 180px.
Plugins
None.
OpenCode version
2.1.3
Steps to reproduce
Open the model picker in the web or desktop app.
Hover a model with a long name, or switch to a locale with a long "Reasoning" value.
The tooltip stays 180px wide and truncates the content.
Expected behavior
The tooltip should grow to fit its content, with a minimum of 180px and a reasonable maximum (320px) so it still behaves on narrow viewports.
Thanks for the report and for opening #58201 with a proposed change!
To restate the request: the model tooltip in the v2 web and desktop app should grow to fit its content, from a minimum of 180px up to about 320px, instead of being fixed at 180px. That way long model names and localized values don't get cut off when there's room on screen.
At the moment the fixed width and the ellipsis are deliberate: each row in the tooltip shortens its value to fit the 180px box. So we're treating this as a feature request (a UI improvement) rather than a bug. The overflow in your screenshot is in the Console models view, which, as you mention in #58201, comes from a separate codebase.
Maintainers will consider this together with your PR #58201.
Activity
opencode-agent commentedon Oct 22, 2026
Thanks for the report and for opening #58201 with a proposed change!
To restate the request: the model tooltip in the v2 web and desktop app should grow to fit its content, from a minimum of 180px up to about 320px, instead of being fixed at 180px. That way long model names and localized values don't get cut off when there's room on screen.
At the moment the fixed width and the ellipsis are deliberate: each row in the tooltip shortens its value to fit the 180px box. So we're treating this as a feature request (a UI improvement) rather than a bug. The overflow in your screenshot is in the Console models view, which, as you mention in #58201, comes from a separate codebase.
Maintainers will consider this together with your PR #58201.
Related: