fixed answer button

Signed-off-by: Ioan Cristian CHELARU <iccjoc@proton.me>
This commit is contained in:
Ioan Cristian CHELARU 2024-06-02 10:27:18 +03:00 committed by Alex Stan
parent 05347fef22
commit feb262b048

View file

@ -76,15 +76,15 @@ const QuestionView = ({ question, setState, state }: { question: Question, setSt
<button <button
onClick={() => { handleAnswerClick( true )}} onClick={() => { handleAnswerClick( true )}}
className="rounded-md bg-green-600 px-3.5 py-2.5 text-s font-semibold text-white shadow-sm hover:bg-green-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" className="rounded-md bg-green-600 px-3.5 py-2.5 text-s font-semibold text-white shadow-sm hover:bg-green-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
style={{width:'30%', height:'30%'}} style={{minWidth:'30%', minHeight:'30%'}}
> >
<CheckCircleIcon></CheckCircleIcon> <CheckCircleIcon></CheckCircleIcon>
I knew that! I knew that!
</button> </button>
<button <button
onClick={() => {handleAnswerClick( false )}} onClick={() => {handleAnswerClick( false )}}
className="rounded-md bg-red-600 px-3.5 py-2.5 text-xs font-semibold text-white shadow-sm hover:bg-red-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" className="rounded-md bg-red-600 px-3.5 py-2.5 text-s font-semibold text-white shadow-sm hover:bg-red-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
style={{width:'30%', height:'30%'}} style={{minWidth:'30%', minHeight:'30%'}}
> >
<XCircleIcon></XCircleIcon> <XCircleIcon></XCircleIcon>
I didn't know that! I didn't know that!