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:
parent
7bfa642fa3
commit
b5c8ca075c
@ -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}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user