Skip to content

Commit c55f24f

Browse files
authored
fix: set portal section height to height of screen (#142)
1 parent f3f3e1e commit c55f24f

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

apps/site/src/app/portal/Portal.tsx

+14-16
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,20 @@ async function Portal() {
2424
}
2525

2626
return (
27-
<>
28-
<section className=" w-full flex items-center flex-col">
29-
<div className="m-24">
30-
<h1
31-
className={`${styles.title} font-display sm:text-[3rem] text-[#fffce2] text-6xl text-center`}
32-
>
33-
Portal
34-
</h1>
35-
</div>
36-
<div className="bg-white text-black max-w-4xl rounded-2xl p-6 flex flex-col mb-24 w-full">
37-
<h2 className="text-4xl font-semibold">Status</h2>
38-
<VerticalTimeline status={status as PortalStatus} />
39-
<Message status={status as PortalStatus} />
40-
</div>
41-
</section>
42-
</>
27+
<section className=" w-full flex items-center flex-col min-h-screen">
28+
<div className="m-24">
29+
<h1
30+
className={`${styles.title} font-display sm:text-[3rem] text-[#fffce2] text-6xl text-center`}
31+
>
32+
Portal
33+
</h1>
34+
</div>
35+
<div className="bg-white text-black max-w-4xl rounded-2xl p-6 flex flex-col mb-24 w-full">
36+
<h2 className="text-4xl font-semibold">Status</h2>
37+
<VerticalTimeline status={status as PortalStatus} />
38+
<Message status={status as PortalStatus} />
39+
</div>
40+
</section>
4341
);
4442
}
4543

0 commit comments

Comments
 (0)