From 67c5194ab2f6c29be8a5ce5673fb934670ef4209 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Fri, 8 May 2026 18:56:48 +0200 Subject: [PATCH] fix transparent thumbnails --- copyparty/web/browser.css | 2 +- copyparty/web/browser.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 5672249c..fc763102 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -3981,7 +3981,7 @@ html.e #wrap.thin { a.img { height: calc(var(--grid-sz) - 1em); max-height: none; - span { + span:not(.th_ext) { display: none; } } diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index c586a100..8dfe79b9 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -6673,6 +6673,9 @@ var thegrid = (function () { function th_onload(el) { el.style.height = ''; + el.previousSibling.style.display = + el.previousSibling.previousSibling.style.display = + 'none' } function th_onerror(el) {