Skip to content

The open source coding agent.

TypeScript

Wrap question option descriptions instead of truncating (#17782)

Shoubhit Dash51fcd04a7025
diff --git a/packages/ui/src/components/message-part.css b/packages/ui/src/components/message-part.css
index 5a325693bd7..8031bf2631d 100644
--- a/packages/ui/src/components/message-part.css
+++ b/packages/ui/src/components/message-part.css
@@ -1050,18 +1050,8 @@
line-height: var(--line-height-large);
color: var(--text-base);
min-width: 0;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-
- [data-slot="question-option"][data-custom="true"] {
- [data-slot="option-description"] {
- overflow: visible;
- text-overflow: clip;
- white-space: normal;
- overflow-wrap: anywhere;
- }
+ overflow-wrap: anywhere;
+ white-space: normal;
}
[data-slot="question-custom"] {