Fix warning about using CSS property objectFit in posts.js
This commit is contained in:
parent
80d22df8da
commit
b2f56a7fff
|
@ -54,7 +54,7 @@ const PostImageJsx = (props) => {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
width: SCREEN_WIDTH,
|
width: SCREEN_WIDTH,
|
||||||
height: getAutoHeight(props.width, props.height, SCREEN_WIDTH),
|
height: getAutoHeight(props.width, props.height, SCREEN_WIDTH),
|
||||||
objectFit: "cover"
|
// objectFit: "cover"
|
||||||
}
|
}
|
||||||
} />
|
} />
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue