From 07dd094d6ba478ea902ac11ef7bac521198708f6 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Fri, 24 Nov 2023 19:10:15 +0800 Subject: [PATCH] Fix css selectors for img and video as direct child --- src/App.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.css b/src/App.css index cff9592..7d3d4e8 100644 --- a/src/App.css +++ b/src/App.css @@ -38,7 +38,8 @@ body { overflow: clip; } -.GalleryItem > img, video { +.GalleryItem > img, +.GalleryItem > video { object-fit: contain; max-height: 80vh; }