From a84f8fceddef22d54a4e8718c00ab74a7eb0d492 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 24 May 2021 22:40:38 +0200 Subject: detail page: limit image height --- share/css/main.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'share/css/main.css') 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 { -- cgit v1.2.3