diff --git a/lib/components/ViewPublicationPage/ResultForm.tsx b/lib/components/ViewPublicationPage/ResultForm.tsx index a21f0c3..820b40d 100644 --- a/lib/components/ViewPublicationPage/ResultForm.tsx +++ b/lib/components/ViewPublicationPage/ResultForm.tsx @@ -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 ( { 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", }} > ) diff --git a/lib/components/ViewPublicationPage/questions/Text.tsx b/lib/components/ViewPublicationPage/questions/Text.tsx index 32e7444..7787977 100644 --- a/lib/components/ViewPublicationPage/questions/Text.tsx +++ b/lib/components/ViewPublicationPage/questions/Text.tsx @@ -153,7 +153,7 @@ const TextNormal = ({currentQuestion, answer, inputHC}: Props) => { > {currentQuestion.title} {isHorizontal && currentQuestion.content.back && currentQuestion.content.back !== " " && ( - +