Skip to content

Commit ac2ddde

Browse files
Fix modes page layout
1 parent b042fdc commit ac2ddde

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/modes/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ const Modes: NextPage<{ searchParams: { url: string; name: string } }> = ({
77
const { url, name } = searchParams;
88

99
return (
10-
<div className="mx-auto mb-6 w-5/6 sm:w-2/3 lg:w-2/3 xl:w-2/4 text-center">
10+
<div className="mx-auto mb-6 w-full md:w-[90vw] lg:w-[70vw] 2xl:w-[45%] text-center">
1111
<h2 className="text-white text-4xl text-leading font-bold uppercase md:mt-14">
1212
{name}
1313
</h2>
1414
<p className="text-white text-lg mt-4 mb-14 px-5 leading-6">
15-
Test your knowledge under pressure with our timed exam mode, or explore
16-
and master over 480 questions at your own pace with our practice mode.
15+
Test your knowledge under pressure with our timed exam mode or explore
16+
and master all the questions at your own pace with our practice mode.
1717
</p>
18-
<div className="flex max-sm:flex-col max-sm:align-center justify-center gap-10 sm:mx-16">
18+
<div className="flex max-sm:flex-col max-sm:align-center justify-center gap-10 mx-5 md:mx-16">
1919
<ExamLink
2020
href={{
2121
pathname: "/practice",

0 commit comments

Comments
 (0)