crutch
This commit is contained in:
parent
50a1617388
commit
7bd538a1b4
@ -183,6 +183,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
|||||||
backgroundColor: "#9A9AAF1A",
|
backgroundColor: "#9A9AAF1A",
|
||||||
borderRadius: "0 0 12px 12px",
|
borderRadius: "0 0 12px 12px",
|
||||||
padding: "20px 20px 15px",
|
padding: "20px 20px 15px",
|
||||||
|
opacity: isCrutchNoDraw ? "0" : "1",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography
|
<Typography
|
||||||
@ -245,6 +246,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
|||||||
mt: "30px",
|
mt: "30px",
|
||||||
color: theme.palette.text.primary,
|
color: theme.palette.text.primary,
|
||||||
wordBreak: "break-word",
|
wordBreak: "break-word",
|
||||||
|
margin: isCrutchNoDraw ? "auto" : "0",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{resultQuestion.description}
|
{resultQuestion.description}
|
||||||
@ -276,7 +278,8 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
|||||||
{resultQuestion.content.text}
|
{resultQuestion.content.text}
|
||||||
</Typography>
|
</Typography>
|
||||||
)}
|
)}
|
||||||
{settings.cfg?.score && (
|
|
||||||
|
{!isCrutchNoDraw && settings.cfg?.score && (
|
||||||
<>
|
<>
|
||||||
<Typography
|
<Typography
|
||||||
sx={{
|
sx={{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user