Updated animations #11

Merged
graphite merged 8 commits from graphite/animations2 into main 2024-06-02 11:47:22 +03:00 AGit
Showing only changes of commit feb262b048 - Show all commits

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!