fix
All checks were successful
Deploy / CreateImage (push) Successful in 5m7s
Deploy / DeployService (push) Successful in 22s

This commit is contained in:
Nastya 2025-05-29 16:29:22 +03:00
parent 350b28cb6b
commit 0e0376686d
2 changed files with 3 additions and 3 deletions

@ -155,10 +155,10 @@ const SettingTextField = memo<SettingTextFieldProps>(function ({ questionId, isR
alignItems: isMobile ? "flex-end" : "center",
}}
label={"Многострочный ответ"}
checked={!multi}
checked={multi}
handleChange={(e) => {
updateQuestion<QuizQuestionText>(questionId, (question) => {
question.content.multi = !e.target.checked;
question.content.multi = e.target.checked;
});
}}
/>

@ -388,7 +388,7 @@ export const CardAnswer: FC<CardAnswerProps> = ({
</>
)}
{!(typeOuestion === "file" || typeOuestion === "images" || typeOuestion === "varimg") && (
<Typography sx={{ fontSize: "18px" }}>{answer.content}</Typography>
<Typography sx={{ fontSize: "18px", whiteSpace: "pre-line" }}>{answer.content}</Typography>
)}
</Box>