Skip to content

Bug: question option descriptions are truncated instead of wrapping #17781

@jb-sk

Description

@jb-sk

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

  1. Open a question dialog with long option descriptions.
  2. Look at the description text shown under each option.
  3. 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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions