diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-08-12 02:48:26 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2023-08-12 02:48:26 +1000 |
| commit | b704601c81f026f63391b8f05f271ac3f427a20a (patch) | |
| tree | 338e75f5a0bde6346623149e9d51d7134dfd9bc0 | |
| parent | bc8385a9e63253a3190b08467cbf31d0256053e8 (diff) | |
Fixed image sizing on view page
| -rw-r--r-- | Pages/ViewMedia.cshtml.css | 5 |
1 files changed, 4 insertions, 1 deletions
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 { |
