mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix(web) Disable draggable on common usage element to avoid trigger drag-n-drop layer (#1330)
This commit is contained in:
parent
036d0556a4
commit
eace0af7a5
25 changed files with 241 additions and 187 deletions
|
|
@ -50,7 +50,7 @@
|
|||
class="flex gap-2 place-items-center hover:cursor-pointer"
|
||||
href="/photos"
|
||||
>
|
||||
<img src="/immich-logo.svg" alt="immich logo" height="35" width="35" />
|
||||
<img src="/immich-logo.svg" alt="immich logo" height="35" width="35" draggable="false" />
|
||||
<h1 class="font-immich-title text-2xl text-immich-primary dark:text-immich-dark-primary">
|
||||
IMMICH
|
||||
</h1>
|
||||
|
|
@ -102,6 +102,7 @@
|
|||
src={`${$page.url.origin}/api/user/profile-image/${user.id}`}
|
||||
alt="profile-img"
|
||||
class="inline rounded-full h-12 w-12 object-cover shadow-md"
|
||||
draggable="false"
|
||||
/>
|
||||
{:catch}
|
||||
{getFirstLetter(user.firstName)}{getFirstLetter(user.lastName)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue