Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

preserve newline in folder description

Steven Teyd0a87d1b0637
diff --git a/apps/web/ui/folders/folder-info-panel.tsx b/apps/web/ui/folders/folder-info-panel.tsx
index 2b828f5be9..89407a09cb 100644
--- a/apps/web/ui/folders/folder-info-panel.tsx
+++ b/apps/web/ui/folders/folder-info-panel.tsx
@@ -38,7 +38,9 @@ export function FolderInfoPanel() {
{folder.description && (
<div className="flex flex-col gap-2">
<SectionHeader>Description</SectionHeader>
- <p className="text-content-subtle text-sm">{folder.description}</p>
+ <p className="text-content-subtle whitespace-pre-wrap text-sm">
+ {folder.description}
+ </p>
</div>
)}