Explorar el Código

feat: pre wrap for description if not truncated

Zen hace 3 años
padre
commit
6194ecb65e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/newtab/workflow/WorkflowDetailsCard.vue

+ 1 - 1
src/components/newtab/workflow/WorkflowDetailsCard.vue

@@ -41,7 +41,7 @@
       </p>
       <p
         class="leading-tight cursor-pointer"
-        :class="descriptionCollapsed ? 'line-clamp' : null"
+        :class="descriptionCollapsed ? 'line-clamp' : 'whitespace-pre-wrap'"
         @click="descriptionCollapsed = !descriptionCollapsed"
       >
         <!-- description here -->