1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02: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}
<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}
>
@ -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}
>