fix: add new question button
This commit is contained in:
parent
8c125e4d21
commit
1170f19a90
@ -44,11 +44,10 @@ export default function QuestionsPage() {
|
||||
};
|
||||
|
||||
const theme = useTheme();
|
||||
const isTablet = useMediaQuery(theme.breakpoints.up(1000));
|
||||
const isMobile = useMediaQuery(theme.breakpoints.down(660));
|
||||
|
||||
return (
|
||||
<>
|
||||
{/* <Stepper activeStep={activeStep} desc={"Задайте вопросы"} /> */}
|
||||
<Box
|
||||
sx={{
|
||||
maxWidth: "796px",
|
||||
@ -85,10 +84,15 @@ export default function QuestionsPage() {
|
||||
onClick={() => {
|
||||
createQuestion(quizId);
|
||||
}}
|
||||
sx={{
|
||||
position: "fixed",
|
||||
left: isMobile ? "20px" : "250px",
|
||||
bottom: "20px",
|
||||
}}
|
||||
>
|
||||
<AddPlus />
|
||||
</IconButton>
|
||||
<Box sx={{ display: "flex", gap: "8px" }}>
|
||||
<Box sx={{ display: "flex", gap: "8px", marginLeft: "auto" }}>
|
||||
<Button
|
||||
variant="outlined"
|
||||
sx={{ padding: "10px 20px", borderRadius: "8px", height: "44px" }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user