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
1 changed files with 1 additions and 1 deletions

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} />
)
}
}