From e213f0792b0d52ee9e4768cd30cf7507d5d83f37 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sat, 16 Dec 2023 21:14:27 +0100 Subject: Store image dimensions in DB --- public/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/style.css') diff --git a/public/style.css b/public/style.css index 7feddb2..8a42a51 100644 --- a/public/style.css +++ b/public/style.css @@ -36,7 +36,7 @@ ul.sidebar li.child a { .view { display: flex; flex-grow: 1; overflow: hidden; justify-content: center; align-items: center; } -.view img { max-width: 100%; max-height: 100%; } +.view img { max-width: 100%; max-height: 100%; object-fit: contain; } .viewbar { padding: .25rem .5rem; background: #eee; border-left: 1px solid #ccc; min-width: 20rem; overflow: auto; } -- cgit v1.2.3-70-g09d2