Adjust book cover images to all equal sizes to prevent bouncing

This commit is contained in:
Ray 2023-11-14 07:26:47 +00:00 committed by GitHub
parent 39ae2a6bd1
commit c6a20f8f89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ export function ItemImage ( props ) {
}
else {
return (
<Card.Img variant='top' src={image} />
<Card.Img style={{aspectRatio: "3/4"}} variant='top' src={image} />
)
}
}