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:
parent
7bfa642fa3
commit
b5c8ca075c
1 changed files with 3 additions and 3 deletions
|
@ -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}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue