Skip to content

Commit

Permalink
Update display of submit button when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
leung018 committed Apr 9, 2024
1 parent e79e999 commit e164f39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/quiz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export default function MultipleChoiceQuiz({
/>
))}
<button
className="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded mt-4"
className="bg-blue-500 enabled:hover:bg-blue-700 text-white font-bold py-2 px-4 rounded mt-4 disabled:opacity-75"
onClick={() => {
handleSubmit()
}}
Expand Down

0 comments on commit e164f39

Please sign in to comment.