Skip to content

Commit

Permalink
Increase line height in the jumbotron
Browse files Browse the repository at this point in the history
  • Loading branch information
damianstasik committed Sep 4, 2023
1 parent e597f4d commit a82a1e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Jumbotron/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ export default function Jumbotron({ children }: JumbotronProps) {
<div className="pt-20 pb-24 flex items-center justify-center">
<PatternBg />
{typeof children === "string" && (
<h1 className="text-7xl font-bold text-white">{children}</h1>
<h1 className="text-7xl font-bold text-white text-center leading-snug">
{children}
</h1>
)}
{typeof children !== "string" && children}
</div>
Expand Down

0 comments on commit a82a1e4

Please sign in to comment.