Hugvvn před 1 měsícem
rodič
revize
7a6d9c718c
1 změnil soubory, kde provedl 6 přidání a 2 odebrání
  1. 6 2
      src/components/ResultCard.vue

+ 6 - 2
src/components/ResultCard.vue

@@ -214,8 +214,12 @@ function truncateText(html: string, maxLength: number): string {
   font-size: 12px;
   border-radius: 2px;
   height: auto;
-  word-break: break-word;
-  overflow-wrap: break-word;
+  word-break: break-all;
+  overflow-wrap: anywhere;
+  white-space: normal;
+  min-width: 0;
+  max-width: 100%;
+  line-height: 1.5;
 }
 .result-actions {
   display: flex;