diff --git a/src/pages/Questions/Form/FormDraggableList/QuestionPageCard.tsx b/src/pages/Questions/Form/FormDraggableList/QuestionPageCard.tsx index 759f9eb6..05cb03a2 100644 --- a/src/pages/Questions/Form/FormDraggableList/QuestionPageCard.tsx +++ b/src/pages/Questions/Form/FormDraggableList/QuestionPageCard.tsx @@ -178,11 +178,9 @@ export default function QuestionsPageCard({ overflow: "hidden", maxWidth: "796px", width: "100%", - borderRadius: "12px", - backgroundColor: question.expanded ? "white" : "#EEE4FC", - border: question.expanded ? "none" : "1px solid #9A9AAF", - boxShadow: "0px 10px 30px #e7e7e7", - marginBottom: "40px", + backgroundColor: "white", + border: "none", + boxShadow: "none", }} > { {(provided, snapshot) => ( {listQuestions[quizId]?.map((question, index) => ( - - + + + { + createQuestion(quizId); + updateQuestionsList(quizId, 0, { + expanded: true, + }); + }} + > + + + Добавить еще один вопрос + + + ))} - console.log("add")} - > - - - Добавить еще один вопрос - -