1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

fix(web): scroll jank on memories page (#10752)

This commit is contained in:
Michel Heusschen 2024-07-02 12:59:11 +02:00 committed by GitHub
parent 7bfa642fa3
commit b5c8ca075c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -210,7 +210,7 @@
{#if galleryInView} {#if galleryInView}
<div <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-0={!galleryInView}
class:opacity-100={galleryInView} class:opacity-100={galleryInView}
> >
@ -353,9 +353,9 @@
</section> </section>
<!-- GALLERY VIEWER --> <!-- GALLERY VIEWER -->
<section class="bg-immich-dark-gray m-4"> <section class="bg-immich-dark-gray p-4">
<div <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-0={galleryInView}
class:opacity-100={!galleryInView} class:opacity-100={!galleryInView}
> >