diff --git a/src/App.css b/src/App.css index 2fa3738..607ebcc 100644 --- a/src/App.css +++ b/src/App.css @@ -38,7 +38,12 @@ body { overflow: clip; } -.GalleryItem > img, +.GalleryItem > .ImgLink { + margin: 0; + padding: 0; +} + +.GalleryItem > .ImgLink > img, .GalleryItem > video { object-fit: contain; max-height: 80vh; diff --git a/src/Gallery/index.tsx b/src/Gallery/index.tsx index 6925bb8..6085709 100644 --- a/src/Gallery/index.tsx +++ b/src/Gallery/index.tsx @@ -116,7 +116,9 @@ function ImageItem({ thumbnail_url, url, isPlaceholder }: galleryItem) { {getFileName(url)} - + + + ); }