From 5a5845788b84c23de7c473df293ee76b8e397ec1 Mon Sep 17 00:00:00 2001 From: Tamara Date: Fri, 8 Dec 2023 01:34:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=B8=D0=B7=D0=B0=D0=B9=D0=BD=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B5=D0=B4=D0=BF=D1=80=D0=BE=D1=81=D0=BC=D0=BE=D1=82?= =?UTF-8?q?=D1=80=D0=B0=20=D0=B8=D0=BF=D1=83=D0=B1=D0=BB=D0=B8=D0=BA=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=B9=20=D0=B2=D0=BE=D0=BF=D1=80=D0=BE=D1=81=D0=BE?= =?UTF-8?q?=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DraggableList/QuestionPageCard.tsx | 2 +- src/pages/ViewPublicationPage/Question.tsx | 4 +-- .../ViewPublicationPage/questions/Images.tsx | 17 ++++++----- .../ViewPublicationPage/questions/Page.tsx | 28 +++++++++++-------- .../ViewPublicationPage/questions/Variant.tsx | 12 ++++---- src/ui_kit/QuizPreview/QuizPreviewLayout.tsx | 2 +- .../QuizPreviewQuestionTypes/Page.tsx | 27 ++++++++++-------- .../QuizPreviewQuestionTypes/Variant.tsx | 20 ++++++++++++- 8 files changed, 69 insertions(+), 43 deletions(-) diff --git a/src/pages/Questions/DraggableList/QuestionPageCard.tsx b/src/pages/Questions/DraggableList/QuestionPageCard.tsx index 34de3139..4b43eff5 100644 --- a/src/pages/Questions/DraggableList/QuestionPageCard.tsx +++ b/src/pages/Questions/DraggableList/QuestionPageCard.tsx @@ -68,7 +68,7 @@ export default function QuestionsPageCard({ question, draggableProps, isDragging return ( <> diff --git a/src/pages/ViewPublicationPage/questions/Images.tsx b/src/pages/ViewPublicationPage/questions/Images.tsx index 425eaa87..ed42ffc2 100644 --- a/src/pages/ViewPublicationPage/questions/Images.tsx +++ b/src/pages/ViewPublicationPage/questions/Images.tsx @@ -1,16 +1,15 @@ import { useEffect } from "react"; import { - Box, - Typography, - RadioGroup, - FormControlLabel, - Radio, - useTheme, - useMediaQuery, + Box, + Typography, + RadioGroup, + FormControlLabel, + Radio, + useTheme, + useMediaQuery, FormControl, } from "@mui/material"; import { useQuizViewStore, updateAnswer } from "@root/quizView"; - import RadioCheck from "@ui_kit/RadioCheck"; import RadioIcon from "@ui_kit/RadioIcon"; @@ -92,7 +91,7 @@ export const Images = ({ currentQuestion }: ImagesProps) => { )} - { return ( - {currentQuestion.title} + {currentQuestion.title} + {currentQuestion.content.text} { }} > {currentQuestion.content.picture && ( - + + + + )} {currentQuestion.content.video && (