From 6f89e4cea7ff2f7cc441b9060e2c40fe26c930bd Mon Sep 17 00:00:00 2001 From: kemal Date: Thu, 28 May 2026 18:50:44 +0100 Subject: [PATCH] fix: another attempt --- .../default/example/logs-bar-chart.tsx | 4 +- .../ProjectHome/ProjectUsageSection.tsx | 58 ++++++++++--------- .../ui-patterns/src/LogsBarChart/index.tsx | 6 +- 3 files changed, 36 insertions(+), 32 deletions(-) diff --git a/apps/design-system/registry/default/example/logs-bar-chart.tsx b/apps/design-system/registry/default/example/logs-bar-chart.tsx index 31c3473e43d..9bd77803f08 100644 --- a/apps/design-system/registry/default/example/logs-bar-chart.tsx +++ b/apps/design-system/registry/default/example/logs-bar-chart.tsx @@ -16,8 +16,8 @@ export default function LogsBarChartDemo() { }).reverse() return ( -
- +
+
) } diff --git a/apps/studio/components/interfaces/ProjectHome/ProjectUsageSection.tsx b/apps/studio/components/interfaces/ProjectHome/ProjectUsageSection.tsx index 54c02299725..2c53df37ecc 100644 --- a/apps/studio/components/interfaces/ProjectHome/ProjectUsageSection.tsx +++ b/apps/studio/components/interfaces/ProjectHome/ProjectUsageSection.tsx @@ -209,7 +209,7 @@ export const ProjectUsageSection = () => {
{enabledServices.map((s) => ( - +
@@ -234,33 +234,35 @@ export const ProjectUsageSection = () => {
- - - - } - /> + + +
+ + } + /> +
diff --git a/packages/ui-patterns/src/LogsBarChart/index.tsx b/packages/ui-patterns/src/LogsBarChart/index.tsx index 1ef16037ec6..2d181be0b13 100644 --- a/packages/ui-patterns/src/LogsBarChart/index.tsx +++ b/packages/ui-patterns/src/LogsBarChart/index.tsx @@ -70,9 +70,11 @@ export const LogsBarChart = ({ data-testid="logs-bar-chart" className={cn('flex flex-col gap-y-3', isFullHeight ? 'h-full' : 'h-24')} > - + { if (e.activeTooltipIndex !== focusDataIndex) {