File tree Expand file tree Collapse file tree 7 files changed +9
-13
lines changed
Expand file tree Collapse file tree 7 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ const Exam: NextPage<{ searchParams: { url: string; name: string } }> = ({
9292 const numberOfQuestions = data . randomQuestions . length || 0 ;
9393
9494 return (
95- < div className = "py-10 px-5 mx-auto w-5/6 sm:w-1/2 bg-slate-800 border-2 border-slate-700 rounded-lg" >
95+ < div className = "py-10 px-5 mb-6 mx-auto w-5/6 sm:w-1/2 bg-slate-800 border-2 border-slate-700 rounded-lg" >
9696 < div >
9797 < div className = "px-2 sm:px-10 w-full flex flex-row justify-between items-center" >
9898 < p className = "text-white font-bold text-sm sm:text-2xl" >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
2424 < body className = "bg-slate-900" >
2525 < ApolloProvider >
2626 < TopNav />
27- < main className = "flex flex-col justify-between md:h-[calc(100vh-2.5rem-64px)]" >
27+ < main className = "flex flex-col justify-between md:h-[calc(100vh-2.5rem-64px)] h-full " >
2828 { children }
2929 < Footer />
3030 < Cookie />
Original file line number Diff line number Diff line change @@ -14,9 +14,5 @@ type ModesLayoutProps = {
1414} ;
1515
1616export default function ModesLayout ( { children } : ModesLayoutProps ) {
17- return (
18- < main className = "flex flex-col justify-between h-[calc(100vh-2.5rem-64px)]" >
19- { children }
20- </ main >
21- ) ;
17+ return < > { children } </ > ;
2218}
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ const Modes: NextPage<{ searchParams: { url: string; name: string } }> = ({
77 const { url, name } = searchParams ;
88
99 return (
10- < div className = "mx-auto w-5/6 sm:w-2/3 lg:w-2/3 xl:w-2/4 text-center" >
11- < h2 className = "text-white text-4xl text-leading font-bold uppercase mt-14" >
10+ < div className = "mx-auto mb-6 w-5/6 sm:w-2/3 lg:w-2/3 xl:w-2/4 text-center" >
11+ < 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" >
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import exams from "@azure-fundamentals/lib/exams.json";
44
55const Home : NextPage = ( ) => {
66 return (
7- < div className = "mx-auto w-5/6 sm:w-2/3 lg:w-2/3 xl:w-2/4 text-center" >
8- < h2 className = "text-white text-5xl text-leading font-bold uppercase mt-14" >
7+ < div className = "mx-auto mb-6 w-5/6 sm:w-2/3 lg:w-2/3 xl:w-2/4 text-center" >
8+ < h2 className = "text-white text-5xl text-leading font-bold uppercase md: mt-14" >
99 Welcome!
1010 </ h2 >
1111 < p className = "text-white text-lg mt-4 mb-14 px-5 leading-6" >
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const Practice: NextPage<{ searchParams: { url: string; name: string } }> = ({
5858 if ( questionsError ) return < p > Oh no... { questionsError . message } </ p > ;
5959
6060 return (
61- < div className = "py-10 px-5 sm:p-10 mx-auto w-5/6 sm:w-1/2 bg-slate-800 border-2 border-slate-700 rounded-lg" >
61+ < div className = "py-10 px-5 mb-6 sm:p-10 mx-auto w-5/6 sm:w-1/2 bg-slate-800 border-2 border-slate-700 rounded-lg" >
6262 < QuizForm
6363 isLoading = { loading || questionsLoading }
6464 questionSet = { data ?. questionById }
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ const QuizForm: FC<Props> = ({
145145 </ svg >
146146 </ button >
147147 </ div >
148- < p className = "text-white px-12 pt-10 pb-5 select-none" > { question } </ p >
148+ < p className = "text-white md: px-12 pt-10 pb-5 select-none" > { question } </ p >
149149 { images . length !== 0 && (
150150 < ul className = "flex flex-row justify-center gap-2 mt-5 mb-8 select-none md:px-12 px-0" >
151151 { images . map ( ( image ) => (
You can’t perform that action at this time.
0 commit comments