From 4f586144b72bdc49e2413ac86f03c020b0e9d9f3 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Wed, 6 May 2026 00:25:35 +0200 Subject: [PATCH] fix upscale toggle for new layout --- copyparty/web/browser.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 4c793e87..bdcc92f4 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -969,6 +969,9 @@ tr.play td:nth-child(1) a { #ggrid.noupscale>a img { width: auto; } +#ggrid.noupscale.gallery.nocrop>a img { + object-fit: scale-down; +} #ggrid>a.dir img { max-width: calc(var(--grid-sz) - 20px); margin: 10px auto 0 auto;