aboutsummaryrefslogtreecommitdiff
path: root/public/style.css
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-12-16 21:14:27 +0100
committerPřemysl Eric Janouch <p@janouch.name>2023-12-16 23:50:10 +0100
commite213f0792b0d52ee9e4768cd30cf7507d5d83f37 (patch)
tree9523cff275ef3cb6478d7f06ad1be8281d9ce62e /public/style.css
parent87eb786498e598a319dfa305cf43c4ab664d26a4 (diff)
downloadgallery-e213f0792b0d52ee9e4768cd30cf7507d5d83f37.tar.gz
gallery-e213f0792b0d52ee9e4768cd30cf7507d5d83f37.tar.xz
gallery-e213f0792b0d52ee9e4768cd30cf7507d5d83f37.zip
Store image dimensions in DB
Diffstat (limited to 'public/style.css')
-rw-r--r--public/style.css2
1 files changed, 1 insertions, 1 deletions
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; }