mirror of
https://github.com/immich-app/immich.git
synced 2024-11-16 02:18:50 -07:00
fix(web): scrollbar does not show all years (#4684)
This commit is contained in:
parent
f6eaaab725
commit
b34cbd881a
@ -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}
|
||||
<div
|
||||
aria-label={segment.timeGroup + ' ' + segment.count}
|
||||
|
Loading…
Reference in New Issue
Block a user