Browse Source

fix: logs error message get cut off

Ahmad Kholid 3 years ago
parent
commit
aab28524e7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/newtab/pages/logs/[id].vue

+ 2 - 2
src/newtab/pages/logs/[id].vue

@@ -39,14 +39,14 @@
             >
               <v-remixicon :name="logsType[item.type]?.icon" size="20" />
             </span>
-            <div class="flex-1 text-overflow pr-2">
+            <div class="flex-1 line-clamp pr-2">
               <p class="w-full text-overflow leading-tight">
                 {{ item.name }}
               </p>
               <p
                 v-if="item.message"
                 :title="item.message"
-                class="text-sm leading-tight text-overflow text-gray-600 dark:text-gray-200"
+                class="text-sm line-clamp text-gray-600 dark:text-gray-200"
               >
                 {{ item.message }}
               </p>