Skip to content

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

💄 Match landing description text size to how it works steps on small screens (#3017)

Luke Vellaa8b50506927d
diff --git a/apps/landing/src/components/home/cta.tsx b/apps/landing/src/components/home/cta.tsx
index f71ee1e6e..d1a48965b 100644
--- a/apps/landing/src/components/home/cta.tsx
+++ b/apps/landing/src/components/home/cta.tsx
@@ -21,7 +21,7 @@ export function Cta({
<h2 className="text-balance font-medium text-2xl text-gray-800 leading-tight tracking-tight sm:text-4xl">
{title}
</h2>
- <p className="max-w-prose text-pretty text-gray-500 text-sm sm:text-balance sm:text-lg">
+ <p className="max-w-prose text-pretty text-base/6 text-gray-500 sm:text-balance sm:text-lg">
{description}
</p>
</div>
diff --git a/apps/landing/src/components/home/hero.tsx b/apps/landing/src/components/home/hero.tsx
index 7f902ae18..f54562e9c 100644
--- a/apps/landing/src/components/home/hero.tsx
+++ b/apps/landing/src/components/home/hero.tsx
@@ -48,7 +48,7 @@ export function Hero({
<h1 className="text-balance font-medium text-3xl text-gray-800 tracking-tight sm:text-5xl">
{title}
</h1>
- <p className="mt-4 text-balance font-normal text-gray-500 text-sm leading-relaxed sm:text-lg">
+ <p className="mt-4 text-balance font-normal text-base/6 text-gray-500 sm:text-lg sm:leading-relaxed">
{description}
</p>
{announcement ? <div className="mt-8">{announcement}</div> : null}
diff --git a/apps/landing/src/components/section.tsx b/apps/landing/src/components/section.tsx
index d5af65305..2812e11d1 100644
--- a/apps/landing/src/components/section.tsx
+++ b/apps/landing/src/components/section.tsx
@@ -37,7 +37,7 @@ export function SectionDescription({
return (
<p
className={cn(
- "max-w-prose text-pretty text-gray-500 text-sm sm:text-lg",
+ "max-w-prose text-pretty text-base/6 text-gray-500 sm:text-lg",
className,
)}
{...props}