diff --git a/web/src/components/dialog/PickerItem.svelte b/web/src/components/dialog/PickerItem.svelte
index e53dcfe2..9760fdac 100644
--- a/web/src/components/dialog/PickerItem.svelte
+++ b/web/src/components/dialog/PickerItem.svelte
@@ -26,21 +26,20 @@
downloadFile(item.url);
}}
>
- {#if item.type}
-
- {#if item.type === "video"}
-
- {:else if item.type === "photo"}
-
- {/if}
-
- {/if}
+
+ {#if itemType === "video"}
+
+ {:else}
+
+ {/if}
+
(imageLoaded = true)}
alt="{$t(`a11y.dialog.picker.item.${itemType}`)} {number}"
@@ -77,6 +76,10 @@
opacity: 0.8;
}
+ .picker-image.video-thumbnail {
+ pointer-events: none;
+ }
+
@media (hover: hover) {
.picker-item:hover .picker-image {
opacity: 0.8;
@@ -99,13 +102,13 @@
top: 6px;
left: 6px;
- border-radius: 4px;
+ border-radius: 6px;
pointer-events: none;
}
.picker-type :global(svg) {
- width: 21px;
- height: 21px;
+ width: 22px;
+ height: 22px;
}