mirror of
https://github.com/immich-app/immich.git
synced 2025-01-21 00:52:43 -05:00
fix(web): scrollbar does not show all years (#4684)
This commit is contained in:
parent
f6eaaab725
commit
b34cbd881a
1 changed files with 6 additions and 8 deletions
|
@ -106,14 +106,12 @@
|
||||||
on:mousemove={() => (hoverLabel = label)}
|
on:mousemove={() => (hoverLabel = label)}
|
||||||
>
|
>
|
||||||
{#if new Date(segments[index - 1]?.timeGroup).getFullYear() !== year}
|
{#if new Date(segments[index - 1]?.timeGroup).getFullYear() !== year}
|
||||||
{#if segment.height > 8}
|
<div
|
||||||
<div
|
aria-label={segment.timeGroup + ' ' + segment.count}
|
||||||
aria-label={segment.timeGroup + ' ' + segment.count}
|
class="absolute right-0 z-10 pr-5 text-xs font-medium dark:text-immich-dark-fg"
|
||||||
class="absolute right-0 z-10 pr-5 text-xs font-medium dark:text-immich-dark-fg"
|
>
|
||||||
>
|
{year}
|
||||||
{year}
|
</div>
|
||||||
</div>
|
|
||||||
{/if}
|
|
||||||
{:else if segment.height > 5}
|
{:else if segment.height > 5}
|
||||||
<div
|
<div
|
||||||
aria-label={segment.timeGroup + ' ' + segment.count}
|
aria-label={segment.timeGroup + ' ' + segment.count}
|
||||||
|
|
Loading…
Add table
Reference in a new issue