Skip to content

Commit 51fcd04

Browse files
authored
Wrap question option descriptions instead of truncating (#17782)
1 parent 4d7cbdc commit 51fcd04

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

packages/ui/src/components/message-part.css

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,18 +1050,8 @@
10501050
line-height: var(--line-height-large);
10511051
color: var(--text-base);
10521052
min-width: 0;
1053-
overflow: hidden;
1054-
text-overflow: ellipsis;
1055-
white-space: nowrap;
1056-
}
1057-
1058-
[data-slot="question-option"][data-custom="true"] {
1059-
[data-slot="option-description"] {
1060-
overflow: visible;
1061-
text-overflow: clip;
1062-
white-space: normal;
1063-
overflow-wrap: anywhere;
1064-
}
1053+
overflow-wrap: anywhere;
1054+
white-space: normal;
10651055
}
10661056

10671057
[data-slot="question-custom"] {

0 commit comments

Comments
 (0)