Skip to content

Commit

Permalink
fix(web): scroll jank on memories page (#10752)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelheusschen authored Jul 2, 2024
1 parent 7bfa642 commit b5c8ca0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/src/lib/components/memory-page/memory-viewer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@

{#if galleryInView}
<div
class="sticky top-20 z-30 flex place-content-center place-items-center transition-opacity"
class="fixed top-20 z-30 left-1/2 -translate-x-1/2 transition-opacity"
class:opacity-0={!galleryInView}
class:opacity-100={galleryInView}
>
Expand Down Expand Up @@ -353,9 +353,9 @@
</section>

<!-- GALLERY VIEWER -->
<section class="bg-immich-dark-gray m-4">
<section class="bg-immich-dark-gray p-4">
<div
class="sticky mb-10 mt-4 flex place-content-center place-items-center transition-all"
class="sticky mb-10 flex place-content-center place-items-center transition-all"
class:opacity-0={galleryInView}
class:opacity-100={!galleryInView}
>
Expand Down

0 comments on commit b5c8ca0

Please sign in to comment.