Skip to content

Commit

Permalink
fix: safari text balance issue in PageHero (#1473)
Browse files Browse the repository at this point in the history
  • Loading branch information
siamak authored Feb 3, 2025
1 parent d0992d9 commit 4a183a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/frontend/components/templates/ModularPage/PageHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ export default function PageHero(props: PageHeroProps) {
<div className="relative z-20 flex flex-col items-center justify-center text-center">
<div className="flex flex-col items-center justify-center gap-4 lg:gap-6">
<BannerLink />
<h1 className="xl-heading max-w-96 text-balance font-bold lg:max-w-[800px]">
{props.title}
</h1>
<h1 className="xl-heading font-bold max-w-[500px]">{props.title}</h1>
<p className="body-l mb-10 max-w-lg lg:max-w-2xl">{props.subtitle}</p>
</div>
<div className="flex justify-between gap-4">
Expand Down

0 comments on commit 4a183a2

Please sign in to comment.