квадратная картинка в результатах
This commit is contained in:
parent
5a3f90e603
commit
ff72f06e5c
@ -120,17 +120,20 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => {
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
resultQuestion?.content.useImage && resultQuestion.content.back && (
|
resultQuestion?.content.useImage && resultQuestion.content.back && (
|
||||||
<Box
|
<Box sx={{width: "100%", display: "flex", justifyContent: "center"}}>
|
||||||
component="img"
|
<Box
|
||||||
src={resultQuestion.content.back}
|
component="img"
|
||||||
sx={{
|
src={resultQuestion.content.back}
|
||||||
width: "100%",
|
sx={{
|
||||||
maxWidth: "844px",
|
width: "100%",
|
||||||
height: spec ? "auto" : isMobile ? "236px" : "306px",
|
maxWidth: "306px",
|
||||||
borderRadius: "8px",
|
height: spec ? "auto" : isMobile ? "236px" : "306px",
|
||||||
objectFit: "contain",
|
borderRadius: "8px",
|
||||||
}}
|
objectFit: "contain",
|
||||||
/>
|
}}
|
||||||
|
/>
|
||||||
|
</Box>
|
||||||
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
{resultQuestion.description !== "" &&
|
{resultQuestion.description !== "" &&
|
||||||
|
Loading…
Reference in New Issue
Block a user