--
This commit is contained in:
parent
1ceee79a02
commit
419bbef319
@ -23,6 +23,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
||||
const theme = useTheme();
|
||||
const isMobile = useRootContainerSize() < 650;
|
||||
const { settings } = useQuizData();
|
||||
const spec = settings.cfg.spec
|
||||
|
||||
return (
|
||||
<Box
|
||||
@ -63,8 +64,8 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
||||
component="img"
|
||||
src={resultQuestion.content.back}
|
||||
sx={{
|
||||
width: isMobile ? "100%" : "490px",
|
||||
height: isMobile ? "100%" : "280px",
|
||||
width: spec ? "auto" : isMobile ? "100%" : "490px",
|
||||
height: spec ? "auto" : isMobile ? "100%" : "280px",
|
||||
}}
|
||||
></Box>
|
||||
)
|
||||
|
@ -153,7 +153,7 @@ const TextNormal = ({currentQuestion, answer, inputHC}: Props) => {
|
||||
>
|
||||
<Typography variant="h5" color={theme.palette.text.primary} sx={{ wordBreak: "break-word" }}>{currentQuestion.title}</Typography>
|
||||
{isHorizontal && currentQuestion.content.back && currentQuestion.content.back !== " " && (
|
||||
<Box sx={{margin: "15px", width: "50vw", maxHeight: "550px" }}>
|
||||
<Box sx={{margin: "30px", width: "50vw", maxHeight: "550px" }}>
|
||||
<img
|
||||
key={currentQuestion.id}
|
||||
src={currentQuestion.content.back}
|
||||
|
Loading…
Reference in New Issue
Block a user