From bd62d8fbcd21fd3ad14b3336170ed32b1d3c403c Mon Sep 17 00:00:00 2001 From: James Grugett Date: Tue, 15 Mar 2022 15:32:39 -0500 Subject: [PATCH] FR graph: Truncate answer labels further --- web/components/answers/answers-graph.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/answers/answers-graph.tsx b/web/components/answers/answers-graph.tsx index 6082227d..27b8846d 100644 --- a/web/components/answers/answers-graph.tsx +++ b/web/components/answers/answers-graph.tsx @@ -31,7 +31,7 @@ export function AnswersGraph(props: { contract: Contract; bets: Bet[] }) { const { width } = useWindowSize() - const labelLength = !width || width > 800 ? 75 : 20 + const labelLength = !width || width > 800 ? 50 : 20 const colors = ['#2a81e3', '#c72ae3', '#b91111', '#f3ad28', '#11b981']