Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix(dataroom-faq): show full question text instead of truncating to 2 lines (#2162)

Marc Seitzd6dc8f759619
diff --git a/ee/features/conversations/components/viewer/faq-section.tsx b/ee/features/conversations/components/viewer/faq-section.tsx
index 643d3719..bf15fc7f 100644
--- a/ee/features/conversations/components/viewer/faq-section.tsx
+++ b/ee/features/conversations/components/viewer/faq-section.tsx
@@ -208,7 +208,7 @@ export function FAQSection({
<span className="flex-shrink-0 rounded bg-secondary px-1.5 py-0.5 text-xs font-medium text-secondary-foreground">
Q
</span>
- <div className="line-clamp-2 min-w-0 flex-1 break-words text-left text-sm font-medium text-gray-900">
+ <div className="min-w-0 flex-1 whitespace-pre-wrap break-words text-left text-sm font-medium text-gray-900">
{faq.editedQuestion}
</div>
</div>