Skip to content

Commit d0a8d42

Browse files
committed
Make widths of elements more consistent
1 parent 539db5c commit d0a8d42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const FrontPage: Page = ({ }) => {
3131
<title>Commit Rocket</title>
3232
</Head>
3333
<main aria-labelledby="hero-title" className="flex flex-col flex-1 w-full gap-4 pb-8">
34-
<section aria-label="hero" className="flex flex-col-reverse items-center h-fit min-h-0 max-w-[105rem] lg:flex-row lg:min-h-[30rem] lg:h-[75dvh] lg:h-[75vh] mx-auto">
34+
<section aria-label="hero" className="flex flex-col-reverse items-center h-fit min-h-0 max-w-7xl lg:flex-row lg:min-h-[30rem] lg:h-[75dvh] lg:h-[75vh] mx-auto">
3535
<div className="relative flex flex-col items-center justify-center h-full col-span-3 gap-8 text-center lg:w-3/5">
3636
<div className="absolute w-full h-full opacity-20 aspect-square bg-gradient-radial from-primary to-transparent -z-10" aria-hidden />
3737
<h1
@@ -62,7 +62,7 @@ const FrontPage: Page = ({ }) => {
6262
</section>
6363
<section
6464
aria-labelledby="mission"
65-
className="flex flex-col gap-12 mx-auto text-center max-w-[105rem] py-16"
65+
className="flex flex-col gap-12 py-16 mx-auto text-center max-w-7xl"
6666
>
6767
<h2
6868
id="mission"
@@ -73,7 +73,7 @@ const FrontPage: Page = ({ }) => {
7373
<div className="flex flex-col flex-wrap justify-between w-full gap-12 lg:flex-row">
7474
{missions.map(({ title, image, text }, i) => (
7575
<div key={i} className="flex flex-col items-center flex-1 gap-4">
76-
<h3 className="text-2xl text-primary md:text-3xl lg:h-[5ex] 2xl:h-auto motion-safe:transition-all">
76+
<h3 className="text-2xl text-primary md:text-3xl lg:h-[5ex] motion-safe:transition-all">
7777
{title}
7878
</h3>
7979
<img

0 commit comments

Comments
 (0)