File tree 1 file changed +8
-2
lines changed
frontend/src/routes/joins/[slug]/observability/drift
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 18
18
import FeaturesLineChart from ' $lib/components/charts/FeaturesLineChart.svelte' ;
19
19
import PercentileLineChart from ' $lib/components/charts/PercentileLineChart.svelte' ;
20
20
import { barChartProps , pieChartProps , tooltipProps } from ' $lib/components/charts/common' ;
21
+ import { cn } from ' $src/lib/utils' ;
21
22
22
23
const api = new Api ();
23
24
187
188
<ObservabilityNavTabs />
188
189
189
190
<div >
190
- {#each data .joinTimeseries .items as group (group .name )}
191
+ {#each data .joinTimeseries .items as group , i (group .name )}
191
192
<CollapsibleSection
192
193
title ={group .name }
193
194
size =" small"
194
195
bind:open ={groupSectionStates [group .name ]}
195
196
>
196
197
{#snippet collapsibleContent ()}
197
- <div class =" h-[274px]" >
198
+ <div
199
+ class ={cn (
200
+ ' h-[274px]' ,
201
+ i === data .joinTimeseries .items .length - 1 && ' mb-[300px]' // Add extra space at bottom of page for tooltip
202
+ )}
203
+ >
198
204
<FeaturesLineChart
199
205
data ={group .items }
200
206
yDomain ={metricTypeDomain }
You can’t perform that action at this time.
0 commit comments