Explorar o código

Wrap question option descriptions instead of truncating (#17782)

Shoubhit Dash hai 5 meses
pai
achega
51fcd04a70
Modificáronse 1 ficheiros con 2 adicións e 12 borrados
  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);
     line-height: var(--line-height-large);
     color: var(--text-base);
     color: var(--text-base);
     min-width: 0;
     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"] {
   [data-slot="question-custom"] {