diff options
Diffstat (limited to 'public/style.css')
-rw-r--r-- | public/style.css | 2 |
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; } |