fix(web): show focus outline for asset thumbnails again (#12382)

* fix(web): show focus outline for asset thumbnails again

* fix e2e test
This commit is contained in:
Michel Heusschen 2024-09-06 15:18:45 +02:00 committed by GitHub
parent a653d9d29f
commit 529b7fe748
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -175,7 +175,7 @@
data-int={intersecting}
style:width="{width}px"
style:height="{height}px"
class="group focus-visible:outline-none flex overflow-hidden {disabled
class="focus-visible:outline-none flex overflow-hidden {disabled
? 'bg-gray-300'
: 'bg-immich-primary/20 dark:bg-immich-dark-primary/20'}"
>
@ -193,6 +193,7 @@
<!-- svelte queries for all links on afterNavigate, leading to performance problems in asset-grid which updates
the navigation url on scroll. Replace this with button for now. -->
<div
class="group"
class:cursor-not-allowed={disabled}
class:cursor-pointer={!disabled}
on:mouseenter={onMouseEnter}