This commit is contained in:
Nastya 2025-10-03 16:30:25 +03:00
parent 44a1b5a4bb
commit 02216751f1

@ -13,6 +13,9 @@ type VariantProps = {
currentQuestion: QuizQuestionVariant;
};
const pathOnly = window.location.pathname;
const isCrutchImg = pathOnly === "/28525cd7-9ddf-4c4a-a55b-e3d2f7d47583";
// 23.02.2025
const crutchlist = {
115048: { x: 629, y: 491 },
@ -149,7 +152,7 @@ export const Variant = ({ currentQuestion }: VariantProps) => {
<img
key={currentQuestion.id}
src={choiceImgUrlQuestion}
style={{ width: "100%", height: "100%", objectFit: "cover" }}
style={{ width: "100%", height: "100%", objectFit: isCrutchImg ? "contain" : "cover" }}
alt=""
/>
</Box>