From ecd3ace8978c02c321ab7dca30da0fae9e66c244 Mon Sep 17 00:00:00 2001 From: Yana Date: Mon, 6 Jan 2025 18:08:10 +0200 Subject: [PATCH] Fix LineChart tooltip sizes --- explorer-nextjs/src/components/lineChart/index.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/explorer-nextjs/src/components/lineChart/index.tsx b/explorer-nextjs/src/components/lineChart/index.tsx index dc42001b6c..48a8cc3071 100644 --- a/explorer-nextjs/src/components/lineChart/index.tsx +++ b/explorer-nextjs/src/components/lineChart/index.tsx @@ -72,7 +72,14 @@ export const LineChart = ({ }} theme={{ grid: { line: { strokeWidth: 0 } }, - tooltip: { container: { color: "black" } }, + tooltip: { + container: { + color: "black", + fontSize: 10, + maxWidth: 250, + lineHeight: 1, + }, + }, axis: { domain: { line: { stroke: "#C3D7D7", strokeWidth: 1, strokeOpacity: 1 },