fix
This commit is contained in:
parent
350b28cb6b
commit
0e0376686d
@ -155,10 +155,10 @@ const SettingTextField = memo<SettingTextFieldProps>(function ({ questionId, isR
|
|||||||
alignItems: isMobile ? "flex-end" : "center",
|
alignItems: isMobile ? "flex-end" : "center",
|
||||||
}}
|
}}
|
||||||
label={"Многострочный ответ"}
|
label={"Многострочный ответ"}
|
||||||
checked={!multi}
|
checked={multi}
|
||||||
handleChange={(e) => {
|
handleChange={(e) => {
|
||||||
updateQuestion<QuizQuestionText>(questionId, (question) => {
|
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") && (
|
{!(typeOuestion === "file" || typeOuestion === "images" || typeOuestion === "varimg") && (
|
||||||
<Typography sx={{ fontSize: "18px" }}>{answer.content}</Typography>
|
<Typography sx={{ fontSize: "18px", whiteSpace: "pre-line" }}>{answer.content}</Typography>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
</Box>
|
</Box>
|
||||||
|
Loading…
Reference in New Issue
Block a user