mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-05 22:11:44 +02:00
updated thumb style and title for non-previewable files
This commit is contained in:
1 parent
9b036fb10f
commit
17086722f4
30 files changed
+41
-41
No files matched your search
@@ -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