Description
In question dialogs, option descriptions are forced into a single line and get truncated with ellipsis.
This makes longer descriptions hard to read, especially when they contain important decision context.
The description slot appears to use truncation styles such as:
white-space: nowrap
overflow: hidden
text-overflow: ellipsis
This prevents the text from wrapping.
A small UI fix would be to remove the truncation styles from the option description slot and allow wrapping, for example with overflow-wrap: anywhere.
There is already a wrapping-friendly pattern in the same stylesheet for a related case, so this looks like a small bug fix rather than a product or design change.
Plugins
None
OpenCode version
v1.2.27
Steps to reproduce
- Open a question dialog with long option descriptions.
- Look at the description text shown under each option.
- Observe that the text is truncated with ellipsis instead of wrapping onto multiple lines.
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
OpenCode Desktop (Windows build)
Description
In question dialogs, option descriptions are forced into a single line and get truncated with ellipsis.
This makes longer descriptions hard to read, especially when they contain important decision context.
The description slot appears to use truncation styles such as:
white-space: nowrapoverflow: hiddentext-overflow: ellipsisThis prevents the text from wrapping.
A small UI fix would be to remove the truncation styles from the option description slot and allow wrapping, for example with
overflow-wrap: anywhere.There is already a wrapping-friendly pattern in the same stylesheet for a related case, so this looks like a small bug fix rather than a product or design change.
Plugins
None
OpenCode version
v1.2.27
Steps to reproduce
Screenshot and/or share link
No response
Operating System
Windows 11
Terminal
OpenCode Desktop (Windows build)