Images grow to fit space in gallery

This commit is contained in:
psychedelicious 2022-10-09 07:15:35 +08:00 committed by Lincoln Stein
parent 1b02074fea
commit 3046dabde2
2 changed files with 3 additions and 4 deletions

View File

@ -16,8 +16,9 @@
}
.hoverable-image-image {
width: 80px;
height: 80px;
width: 100%;
max-width: 100%;
max-height: 100%;
}
.hoverable-image-content {

View File

@ -69,8 +69,6 @@ const HoverableImage = memo((props: HoverableImageProps) => {
onMouseOut={handleMouseOut}
>
<Image
width={80}
height={80}
objectFit="cover"
rounded={'md'}
src={url}