From cc30b13383b196cb7d101e415a58aaf4e12b58af Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Mon, 19 Jan 2026 15:18:42 -0700 Subject: [PATCH] Make mobile smaller --- components/QuestionCard.tsx | 16 ++++++++-------- components/QuizEditor.tsx | 22 +++++++++++----------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/components/QuestionCard.tsx b/components/QuestionCard.tsx index b3c35b5..7e4ff04 100644 --- a/components/QuestionCard.tsx +++ b/components/QuestionCard.tsx @@ -58,7 +58,7 @@ export const QuestionCard: React.FC = ({ }`} >
= ({
-
+
{index + 1}
@@ -77,7 +77,7 @@ export const QuestionCard: React.FC = ({
{correctOption && ( -
+
{correctOption.text}
@@ -111,21 +111,21 @@ export const QuestionCard: React.FC = ({ transition={{ duration: 0.2 }} className="overflow-hidden" > -
-

{question.text}

+
+

{question.text}

{question.options.map((option, idx) => (
-
+
@@ -138,7 +138,7 @@ export const QuestionCard: React.FC = ({ )}
{option.reason && ( -

{option.reason}

+

{option.reason}

)}
))} diff --git a/components/QuizEditor.tsx b/components/QuizEditor.tsx index 718da13..9eff413 100644 --- a/components/QuizEditor.tsx +++ b/components/QuizEditor.tsx @@ -163,13 +163,13 @@ export const QuizEditor: React.FC = ({ }; return ( -
+
-
+
@@ -183,13 +183,13 @@ export const QuizEditor: React.FC = ({ onBlur={() => setTitleEditing(false)} onKeyDown={(e) => e.key === 'Enter' && setTitleEditing(false)} autoFocus - className="bg-white/20 text-white text-2xl md:text-3xl font-black text-center w-full max-w-md px-4 py-2 rounded-xl outline-none placeholder:text-white/50" + className="bg-white/20 text-white text-xl md:text-3xl font-black text-center w-full max-w-md px-2 md:px-4 py-1 md:py-2 rounded-xl outline-none placeholder:text-white/50" placeholder="Quiz Title" /> ) : (

setTitleEditing(true)} - className="text-2xl md:text-3xl font-black cursor-pointer hover:bg-white/10 px-4 py-2 rounded-xl transition inline-block" + className="text-xl md:text-3xl font-black cursor-pointer hover:bg-white/10 px-2 md:px-4 py-1 md:py-2 rounded-xl transition inline-block" > {quiz.title || 'Untitled Quiz'}

@@ -203,7 +203,7 @@ export const QuizEditor: React.FC = ({
-
+
{activeTab === 'questions' ? ( <>
@@ -305,11 +305,11 @@ export const QuizEditor: React.FC = ({ )}
-
+