квадратная картинка в результатах

This commit is contained in:
Tamara 2024-04-09 02:38:44 +03:00
parent 5a3f90e603
commit ff72f06e5c

@ -120,17 +120,20 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
}
{
resultQuestion?.content.useImage && resultQuestion.content.back && (
<Box
component="img"
src={resultQuestion.content.back}
sx={{
width: "100%",
maxWidth: "844px",
height: spec ? "auto" : isMobile ? "236px" : "306px",
borderRadius: "8px",
objectFit: "contain",
}}
/>
<Box sx={{width: "100%", display: "flex", justifyContent: "center"}}>
<Box
component="img"
src={resultQuestion.content.back}
sx={{
width: "100%",
maxWidth: "306px",
height: spec ? "auto" : isMobile ? "236px" : "306px",
borderRadius: "8px",
objectFit: "contain",
}}
/>
</Box>
)
}
{resultQuestion.description !== "" &&