They should only be resized on one of the two dimensions, whichever is bigger.
If you look at the puppy image below, it looks to be stetched
CODE
export const ImageTemplateImage = styled.img`
width: 230px;
height: 162.53px;
`;
They should only be resized on one of the two dimensions, whichever is bigger.
If you look at the puppy image below, it looks to be stetched
CODE
export const ImageTemplateImage = styled.img`
width: 230px;
height: 162.53px;
`;
If you don't give in a height for example, it will keep the ratio and only change the width. Therefore the height may not be set. At least is in css, I'm not familiar with reactjs, but I'm guessing this is an injection into the css.