diff --git a/web/src/lib/components/photos-page/memory-lane.svelte b/web/src/lib/components/photos-page/memory-lane.svelte index 79ae11d174..79dd06657a 100644 --- a/web/src/lib/components/photos-page/memory-lane.svelte +++ b/web/src/lib/components/photos-page/memory-lane.svelte @@ -1,42 +1,36 @@ {#if shouldRender} @@ -45,29 +39,35 @@ bind:this={memoryLaneElement} class="relative overflow-x-hidden whitespace-nowrap mt-5 transition-all" bind:offsetWidth + on:scroll={onScroll} > - {#if isOverflow} + {#if canScrollLeft || canScrollRight}