Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Support line breaks in event description (#1105)

Luke Vella559bf6a0d9a8
diff --git a/apps/web/src/components/event-card.tsx b/apps/web/src/components/event-card.tsx
index 6008a4a3a..550a53537 100644
--- a/apps/web/src/components/event-card.tsx
+++ b/apps/web/src/components/event-card.tsx
@@ -53,7 +53,7 @@ export function EventCard() {
<PollStatusBadge status={poll.status} />
</div>
{poll.description ? (
- <p className="mt-4 min-w-0 text-wrap text-sm leading-relaxed">
+ <p className="mt-4 min-w-0 whitespace-pre-wrap text-pretty text-sm leading-relaxed">
<TruncatedLinkify>{poll.description}</TruncatedLinkify>
</p>
) : null}