diff --git a/apps/studio/components/interfaces/QueryInsights/QueryInsights.tsx b/apps/studio/components/interfaces/QueryInsights/QueryInsights.tsx index 1df7ffdb78b..22a7754e2b9 100644 --- a/apps/studio/components/interfaces/QueryInsights/QueryInsights.tsx +++ b/apps/studio/components/interfaces/QueryInsights/QueryInsights.tsx @@ -111,7 +111,7 @@ export const QueryInsights = () => { { id: 'query_latency', label: 'Query latency', - description: `p95 in ${p95Latency}`, + description: `p95: ${p95Latency}`, tooltip: 'Shows the latency of each query execution.', }, { @@ -281,7 +281,7 @@ export const QueryInsights = () => { setSelectedMetric(value as MetricType)} - className="space-y-4" + className="pb-4" > {METRICS.map((metric) => ( @@ -334,7 +334,6 @@ export const QueryInsights = () => { -
-
- - - {selectedQuery && ( - +
+ - )} + + {selectedQuery && ( + + )} +
-
+
{ + onMouseMove={(e: any) => { if (e.activeTooltipIndex !== focusDataIndex) { setFocusDataIndex(e.activeTooltipIndex) }