updated thumb style and title for non-previewable files

This commit is contained in:
Gani Georgiev
2026-01-23 00:34:58 +02:00
parent 9b036fb10f
commit 17086722f4
30 changed files with 41 additions and 41 deletions

View File

@@ -45,9 +45,9 @@
<button
type="button"
draggable={false}
class="handle thumb {size ? `thumb-${size}` : ''}"
title={(hasPreview ? "Preview" : "Download") + " " + filename}
on:click|stopPropagation={async () => {
class="thumb {size ? `thumb-${size}` : ''} {hasPreview ? "handle" : ""}"
title={(hasPreview ? "Preview " : "") + filename}
on:click|stopPropagation={async (e) => {
if (!hasPreview) {
return;
}