diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-05-24 22:40:38 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-05-24 22:40:38 +0200 |
commit | a84f8fceddef22d54a4e8718c00ab74a7eb0d492 (patch) | |
tree | ca6a7029ba8436c4f844285811b2148edd733892 | |
parent | a19196cee506556ed06ce2963bbcfa0004469e74 (diff) |
detail page: limit image height
-rw-r--r-- | share/css/main.css | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/share/css/main.css b/share/css/main.css index 6a626ff..ca5e293 100644 --- a/share/css/main.css +++ b/share/css/main.css @@ -23,8 +23,13 @@ div.image-container img { max-height: 250px; } +div.image-page { + text-align: center; +} + div.image-page img { - max-width: 100%; + max-width: 98vw; + max-height: 90vh; } div.image-details { |