Skip to content

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

💄 Cap poll description width at a readable line length (#2955)

Luke Vellacaa9a68f401d
diff --git a/apps/landing/src/components/home/hero-demo/desktop-demo.tsx b/apps/landing/src/components/home/hero-demo/desktop-demo.tsx
index 22944526d..70b8110f7 100644
--- a/apps/landing/src/components/home/hero-demo/desktop-demo.tsx
+++ b/apps/landing/src/components/home/hero-demo/desktop-demo.tsx
@@ -54,7 +54,7 @@ export const DesktopDemo = ({
defaultValue: "Q3 Board Meeting",
})}
</h3>
- <p className="mt-1 text-gray-600 text-sm">
+ <p className="mt-1 max-w-prose text-gray-600 text-sm">
{t("heroDemoDescription", {
ns: "home",
defaultValue:
diff --git a/apps/web/src/features/poll/components/event-meta.tsx b/apps/web/src/features/poll/components/event-meta.tsx
index 5c520419f..4c1821d0f 100644
--- a/apps/web/src/features/poll/components/event-meta.tsx
+++ b/apps/web/src/features/poll/components/event-meta.tsx
@@ -29,7 +29,7 @@ export function EventMetaDescription({
return (
<MarkdownDescription
content={content}
- className={cn(className, "min-w-0 opacity-90")}
+ className={cn(className, "min-w-0 max-w-prose opacity-90")}
/>
);
}