From a7cf7fcd74920380c6119ba6c464a8516b63cee4 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Fri, 8 May 2026 23:38:38 +0200 Subject: [PATCH] only hide filename when thumbnail loaded --- copyparty/web/browser.css | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 3d2ffb3b..85dcb93c 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -3979,15 +3979,15 @@ html.e #wrap.thin { } a.img { max-height: none; - span:not(.th_ext) { - display: none; - } .thumb, img { max-height: none; height: calc(var(--grid-sz) - 8px); } } + a.img.thumbed span:not(.th_ext) { + display: none; + } } #ggrid.gallery.nocrop { text-align: center; @@ -4023,10 +4023,8 @@ html.e #wrap.thin { margin-right: 10px; } } - a.img { - span:not(.th_ext) { - display: none; - } + a.img.thumbed span:not(.th_ext) { + display: none; } }