FR graph: Truncate answer labels further

This commit is contained in:
James Grugett 2022-03-15 15:32:39 -05:00
parent 1444d60e11
commit bd62d8fbcd

View File

@ -31,7 +31,7 @@ export function AnswersGraph(props: { contract: Contract; bets: Bet[] }) {
const { width } = useWindowSize() const { width } = useWindowSize()
const labelLength = !width || width > 800 ? 75 : 20 const labelLength = !width || width > 800 ? 50 : 20
const colors = ['#2a81e3', '#c72ae3', '#b91111', '#f3ad28', '#11b981'] const colors = ['#2a81e3', '#c72ae3', '#b91111', '#f3ad28', '#11b981']