From 4b099434b77ced2b01736a3433cfdc60750ed923 Mon Sep 17 00:00:00 2001 From: James Ritchie Date: Tue, 5 Dec 2023 13:26:47 +0000 Subject: [PATCH] Better alignment of the reference line and x-axis label --- .../components/billing/ConcurrentRunsChart.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/apps/webapp/app/components/billing/ConcurrentRunsChart.tsx b/apps/webapp/app/components/billing/ConcurrentRunsChart.tsx index 06611e7b4..5b9f335bf 100644 --- a/apps/webapp/app/components/billing/ConcurrentRunsChart.tsx +++ b/apps/webapp/app/components/billing/ConcurrentRunsChart.tsx @@ -2,14 +2,12 @@ import { Label, Line, LineChart, - Rectangle, ReferenceLine, ResponsiveContainer, Tooltip, XAxis, YAxis, } from "recharts"; -import { Header3 } from "../primitives/Headers"; import { Paragraph } from "../primitives/Paragraph"; const tooltipStyle = { @@ -44,10 +42,10 @@ export function ConcurrentRunsChart({ @@ -57,15 +55,16 @@ export function ConcurrentRunsChart({ tickLine={false} axisLine={false} dataKey="name" - label={"Last 30 days"} - /> + className="text-xs" + > +