File tree 1 file changed +2
-2
lines changed
frontend/src/lib/components/charts
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 73
73
{formatDate (x (data ))}
74
74
</Tooltip .Header >
75
75
76
- <Tooltip .List {...tooltipProps .list } class =" px-1 pb-1" >
76
+ <Tooltip .List {...tooltipProps .list } class =" px-1 pb-1 gap-y-0 " >
77
77
{#each visibleSeries as s }
78
78
{@const seriesTooltipData = s .data ? findRelatedData (s .data , data , x ) : data }
79
79
{@const valueAccessor = accessor (s .value ?? (s .data ? (y as unknown ) : s .key ))}
80
80
{@const value = seriesTooltipData ? valueAccessor (seriesTooltipData ) : null }
81
81
82
82
<button
83
- class =" col-span-full grid grid-cols-[1fr,auto] gap-4 hover:bg-neutral-400 py-2 px-3 rounded"
83
+ class =" col-span-full grid grid-cols-[1fr,auto] gap-6 hover:bg-neutral-400 py-2 px-3 rounded"
84
84
onclick ={() => onitemclick ?.({ series: s , data: seriesTooltipData , value })}
85
85
>
86
86
<Tooltip .Item
You can’t perform that action at this time.
0 commit comments