From f1c1e3ed474bd0063a6ee489797560527402fb34 Mon Sep 17 00:00:00 2001 From: Til Date: Sat, 23 May 2026 01:13:11 +0200 Subject: [PATCH] undo accidental bbox alignment change --- copyparty/web/browser.css | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 5d0d3d56..e92189c8 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -2696,18 +2696,19 @@ html.noscroll .sbar::-webkit-scrollbar { margin: 0; height: 100%; } -.full-image img, -.full-image video { - display: inline-block; - outline: none; - width: auto; - height: auto; - max-width: 100%; - max-height: 100%; - max-height: calc(100% - 1.4em); - margin-bottom: 1.4em; - transition: transform .23s, left .23s, top .23s, width .23s, height .23s; -} + .full-image img, + .full-image video { + display: inline-block; + outline: none; + width: auto; + height: auto; + max-width: 100%; + max-height: 100%; + max-height: calc(100% - 1.4em); + margin-bottom: 1.4em; + vertical-align: middle; + transition: transform .23s, left .23s, top .23s, width .23s, height .23s; + } .immersive .full-image img, .immersive .full-image video { max-height: 100%;