скроллы
This commit is contained in:
parent
afd35ff7df
commit
ce07524073
@ -71,6 +71,10 @@ export const Question = ({
|
|||||||
overflow: "auto",
|
overflow: "auto",
|
||||||
width: "100%",
|
width: "100%",
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
|
scrollbarWidth: "none",
|
||||||
|
"&::-webkit-scrollbar": {
|
||||||
|
width: 0,
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
|
@ -62,6 +62,10 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
|||||||
? "transparent"
|
? "transparent"
|
||||||
: "linear-gradient(90deg,#272626, transparent)"
|
: "linear-gradient(90deg,#272626, transparent)"
|
||||||
: theme.palette.background.default,
|
: theme.palette.background.default,
|
||||||
|
scrollbarWidth: "none",
|
||||||
|
"&::-webkit-scrollbar": {
|
||||||
|
width: 0,
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Box
|
<Box
|
||||||
|
@ -42,7 +42,10 @@ const StandartLayout = ({
|
|||||||
backgroundImage: settings.cfg.design
|
backgroundImage: settings.cfg.design
|
||||||
? `url(${DESIGN_LIST[settings.cfg.theme]})`
|
? `url(${DESIGN_LIST[settings.cfg.theme]})`
|
||||||
: null,
|
: null,
|
||||||
"&::-webkit-scrollbar": { width: 0 },
|
scrollbarWidth: "none",
|
||||||
|
"&::-webkit-scrollbar": {
|
||||||
|
width: 0,
|
||||||
|
},
|
||||||
overflowY: "auto",
|
overflowY: "auto",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@ -60,6 +63,10 @@ const StandartLayout = ({
|
|||||||
settings.cfg.design && !quizThemes[settings.cfg.theme].isLight
|
settings.cfg.design && !quizThemes[settings.cfg.theme].isLight
|
||||||
? "linear-gradient(90deg,#272626,transparent)"
|
? "linear-gradient(90deg,#272626,transparent)"
|
||||||
: null,
|
: null,
|
||||||
|
scrollbarWidth: "none",
|
||||||
|
"&::-webkit-scrollbar": {
|
||||||
|
width: 0,
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{quizHeaderBlock}
|
{quizHeaderBlock}
|
||||||
@ -90,7 +97,10 @@ const ExpandedLayout = ({
|
|||||||
: alignType === "left"
|
: alignType === "left"
|
||||||
? "0"
|
? "0"
|
||||||
: "0 0 0 auto",
|
: "0 0 0 auto",
|
||||||
"&::-webkit-scrollbar": { width: 0 },
|
scrollbarWidth: "none",
|
||||||
|
"&::-webkit-scrollbar": {
|
||||||
|
width: 0,
|
||||||
|
},
|
||||||
overflowY: "auto",
|
overflowY: "auto",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@ -105,6 +115,10 @@ const ExpandedLayout = ({
|
|||||||
alignItems: alignType === "center" ? "center" : "start",
|
alignItems: alignType === "center" ? "center" : "start",
|
||||||
borderRight: alignType === "left" ? "1px solid #9A9AAF80" : null,
|
borderRight: alignType === "left" ? "1px solid #9A9AAF80" : null,
|
||||||
borderLeft: alignType === "right" ? "1px solid #9A9AAF80" : null,
|
borderLeft: alignType === "right" ? "1px solid #9A9AAF80" : null,
|
||||||
|
scrollbarWidth: "none",
|
||||||
|
"&::-webkit-scrollbar": {
|
||||||
|
width: 0,
|
||||||
|
},
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{quizHeaderBlock}
|
{quizHeaderBlock}
|
||||||
@ -148,7 +162,10 @@ const CenteredLayout = ({
|
|||||||
backgroundImage: settings.cfg.design
|
backgroundImage: settings.cfg.design
|
||||||
? `url(${DESIGN_LIST[settings.cfg.theme]})`
|
? `url(${DESIGN_LIST[settings.cfg.theme]})`
|
||||||
: null,
|
: null,
|
||||||
"&::-webkit-scrollbar": { width: 0 },
|
scrollbarWidth: "none",
|
||||||
|
"&::-webkit-scrollbar": {
|
||||||
|
width: 0,
|
||||||
|
},
|
||||||
overflowY: "auto",
|
overflowY: "auto",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user