Skip to content

Commit 75dfb95

Browse files
committed
change font sizes for question
1 parent 93c38ee commit 75dfb95

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

frontend/src/app/collaboration/components/question.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -360,28 +360,28 @@ const Question = ({
360360
</Button>
361361
</div>
362362
<span className="row-span-1 text-primary-300 text-md max-h-[100%] h-full overflow-y-auto flex flex-col gap-2 bg-primary-800 p-3 rounded-md">
363-
<span className="text-yellow-500 font-bold">Question Description</span>
364-
<span className="text-white text-md py-4">{question?.description}</span>
365-
<span className="text-yellow-500 font-bold">Examples</span>
363+
<span className="text-yellow-500 font-bold text-md">Question Description</span>
364+
<span className="text-white py-2 text-xs">{question?.description}</span>
365+
<span className="text-yellow-500 font-bold text-md">Examples</span>
366366
{question?.examples?.map((example, idx) => (
367367
<div key={idx}>
368-
<div className="font-bold underline">
368+
<div className="font-bold underline text-xs">
369369
Example {example.example_num}:
370370
</div>
371371
<div>
372-
<span className="font-bold">Expected Input: </span>
373-
<span className="text-primary-400 tracking-wide">
372+
<span className="font-bold text-xs">Expected Input: </span>
373+
<span className="text-primary-400 tracking-wide text-xs">
374374
{example.expected_input}
375375
</span>
376376
</div>
377377
<div>
378-
<span className="font-bold">Expected Output: </span>
379-
<span className="text-primary-400 tracking-wide">
378+
<span className="font-bold text-xs">Expected Output: </span>
379+
<span className="text-primary-400 tracking-wide text-xs">
380380
{example.expected_output}
381381
</span>
382382
</div>
383-
<span className="font-bold">Explanation: </span>
384-
<span className="text-primary-400 tracking-wide">
383+
<span className="font-bold text-xs">Explanation: </span>
384+
<span className="text-primary-400 tracking-wide text-xs">
385385
{example.explanation}
386386
</span>
387387
<br />
@@ -401,7 +401,7 @@ const Question = ({
401401
<span className="text-xs italic">
402402
We currently only support JavaScript. Sorry!
403403
</span>
404-
<SyntaxHighlighter language="javascript">
404+
<SyntaxHighlighter language="javascript" class="text-xs">
405405
{question?.solution}
406406
</SyntaxHighlighter>
407407
</div>

0 commit comments

Comments
 (0)