From 7bd061a67016bb3dd7f5acbd8b6d6f18a8d06970 Mon Sep 17 00:00:00 2001 From: Ali Waseem Date: Thu, 28 May 2026 12:24:08 -0600 Subject: [PATCH] fix: bug with homepage charts in rednering due to x axis (#46481) ## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? undefined goes boom ## Summary by CodeRabbit ## Release Notes * **Style** * Refined LogsBarChart component layout rendering with simplified styling approach * Adjusted XAxis height behavior for improved chart display [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/supabase/supabase/pull/46481?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) --- packages/ui-patterns/src/LogsBarChart/index.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/ui-patterns/src/LogsBarChart/index.tsx b/packages/ui-patterns/src/LogsBarChart/index.tsx index 6bd8f23612f..070186a6990 100644 --- a/packages/ui-patterns/src/LogsBarChart/index.tsx +++ b/packages/ui-patterns/src/LogsBarChart/index.tsx @@ -70,10 +70,7 @@ export const LogsBarChart = ({ data-testid="logs-bar-chart" className={cn('flex flex-col gap-y-3', isFullHeight ? 'h-full' : 'h-24')} > - + { @@ -97,7 +94,6 @@ export const LogsBarChart = ({ dataKey="timestamp" interval={data.length - 2} tick={false} - height={hideDateRange ? 1 : undefined} axisLine={{ stroke: CHART_COLORS.AXIS }} tickLine={{ stroke: CHART_COLORS.AXIS }} />