From d959c004ddf532a2c65e80a7988aef4187123668 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Wed, 22 Nov 2023 17:43:21 +0800 Subject: [PATCH] Tweak css --- src/App.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.css b/src/App.css index 1657b93..cff9592 100644 --- a/src/App.css +++ b/src/App.css @@ -8,8 +8,7 @@ body { display: flex; flex-direction: row; - margin: 1em; - padding: 0; + padding: 1em; } .Contents { @@ -40,6 +39,7 @@ body { } .GalleryItem > img, video { + object-fit: contain; max-height: 80vh; }