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