High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): scrollbar does not show all years (#4684)
Alexb34cbd881ae8
diff --git a/web/src/lib/components/shared-components/scrollbar/scrollbar.svelte b/web/src/lib/components/shared-components/scrollbar/scrollbar.svelteindex da028f686e..750b3247ba 100644--- a/web/src/lib/components/shared-components/scrollbar/scrollbar.svelte+++ b/web/src/lib/components/shared-components/scrollbar/scrollbar.svelte@@ -106,14 +106,12 @@on:mousemove={() => (hoverLabel = label)}>{#if new Date(segments[index - 1]?.timeGroup).getFullYear() !== year}- {#if segment.height > 8}- <div- aria-label={segment.timeGroup + ' ' + segment.count}- class="absolute right-0 z-10 pr-5 text-xs font-medium dark:text-immich-dark-fg"- >- {year}- </div>- {/if}+ <div+ aria-label={segment.timeGroup + ' ' + segment.count}+ class="absolute right-0 z-10 pr-5 text-xs font-medium dark:text-immich-dark-fg"+ >+ {year}+ </div>{:else if segment.height > 5}<divaria-label={segment.timeGroup + ' ' + segment.count}