Explorar o código

feat: pre wrap for description if not truncated

Zen %!s(int64=3) %!d(string=hai) anos
pai
achega
6194ecb65e
Modificáronse 1 ficheiros con 1 adicións e 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 -->