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 { .hoverable-image-image {
width: 80px; width: 100%;
height: 80px; max-width: 100%;
max-height: 100%;
} }
.hoverable-image-content { .hoverable-image-content {

View File

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