Skip to content

Commit

Permalink
style: 퀴즈가 없을 때 글꼴 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
dooohun committed Dec 1, 2024
1 parent 22dd871 commit 18abd31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/client/src/pages/quiz-list/ui/ClassItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ export default function ClassItem({ index, quizList }: ClassItemProps) {
</div>
{selectedClassIndex === index && (
<div className={`flex flex-col gap-3 p-4 -mt-4 border shadow-sm rounded-base bg-white`}>
{quizList.quizzes.length === 0 && <span>퀴즈가 없습니다.</span>}
{quizList.quizzes.length === 0 && (
<span className="text-md font-semibold text-gray-600">퀴즈가 없습니다.</span>
)}
{quizList.quizzes.map((quizData, quizIndex) => (
<span key={`${quizData.content} ${quizIndex}`}>
<span className="text-md font-bold text-secondary">Q{quizIndex + 1}: </span>
Expand Down

0 comments on commit 18abd31

Please sign in to comment.