ソースを参照

Wrap question option descriptions instead of truncating (#17782)

Shoubhit Dash 1 ヶ月 前
コミット
51fcd04a70
1 ファイル変更2 行追加12 行削除
  1. 2 12
      packages/ui/src/components/message-part.css

+ 2 - 12
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"] {