fix: steps

This commit is contained in:
IlyaDoronin 2023-10-18 16:52:59 +03:00
parent e640c41857
commit b9b3644ac3
2 changed files with 4 additions and 5 deletions

@ -1,4 +1,4 @@
import { Box, Button, Typography, useTheme } from "@mui/material"; import { Box, Button, useTheme } from "@mui/material";
import CreationCard from "@ui_kit/CreationCard"; import CreationCard from "@ui_kit/CreationCard";
import quizCreationImage1 from "../../assets/quiz-creation-1.png"; import quizCreationImage1 from "../../assets/quiz-creation-1.png";
import quizCreationImage2 from "../../assets/quiz-creation-2.png"; import quizCreationImage2 from "../../assets/quiz-creation-2.png";
@ -6,9 +6,8 @@ import { useParams } from "react-router-dom";
import { quizStore } from "@root/quizes"; import { quizStore } from "@root/quizes";
export default function StepOne() { export default function StepOne() {
const theme = useTheme();
const params = Number(useParams().quizId); const params = Number(useParams().quizId);
const theme = useTheme();
const { listQuizes, updateQuizesList } = quizStore(); const { listQuizes, updateQuizesList } = quizStore();
return ( return (
@ -23,7 +22,7 @@ export default function StepOne() {
sx={{ sx={{
minWidth: "720px", minWidth: "720px",
display: "flex", display: "flex",
gap: "3.4%", gap: "20px",
mt: "60px", mt: "60px",
}} }}
> >

@ -32,7 +32,7 @@ export default function Steptwo() {
sx={{ sx={{
minWidth: "950px", minWidth: "950px",
display: "flex", display: "flex",
gap: "3.4%", gap: "20px",
mt: "40px", mt: "40px",
padding: isSmallMonitor ? "0 15px 15px" : 0, padding: isSmallMonitor ? "0 15px 15px" : 0,
}} }}