mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: Interactive quizzes, add and removing answers is challenge due to CSS scaling effect in editor page #343
This commit is contained in:
parent
90a47880cb
commit
780968ba06
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ function QuizBlockComponent(props: any) {
|
||||||
<div
|
<div
|
||||||
key={answer.answer_id}
|
key={answer.answer_id}
|
||||||
className={twMerge(
|
className={twMerge(
|
||||||
'outline outline-3 pr-2 shadow w-full flex items-center space-x-2 h-[30px] bg-opacity-50 hover:bg-opacity-100 hover:shadow-md rounded-s rounded-lg bg-white text-sm hover:scale-105 active:scale-110 duration-150 cursor-pointer ease-linear',
|
'outline outline-3 pr-2 shadow w-full flex items-center space-x-2 h-[30px] bg-opacity-50 hover:bg-opacity-100 hover:shadow-md rounded-s rounded-lg bg-white text-sm duration-150 cursor-pointer ease-linear',
|
||||||
answer.correct && isEditable ? 'outline-lime-300' : 'outline-white',
|
answer.correct && isEditable ? 'outline-lime-300' : 'outline-white',
|
||||||
userAnswers.some(
|
userAnswers.some(
|
||||||
(userAnswer: any) =>
|
(userAnswer: any) =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue