updated thumb style and title for non-previewable files
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user