From b704601c81f026f63391b8f05f271ac3f427a20a Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Sat, 12 Aug 2023 02:48:26 +1000 Subject: Fixed image sizing on view page --- Pages/ViewMedia.cshtml.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Pages/ViewMedia.cshtml.css b/Pages/ViewMedia.cshtml.css index f51e18f..622de48 100644 --- a/Pages/ViewMedia.cshtml.css +++ b/Pages/ViewMedia.cshtml.css @@ -1,10 +1,13 @@ div#content { display: flex; align-items: start; + height: 100%; } div#content > img { - max-width: 60%; + max-width: 60%; + height: 100%; + object-fit: contain; } div#metadata { -- cgit v1.3