From e2096f9fa997344ca2172a9bb123fe7d6cb1a9f3 Mon Sep 17 00:00:00 2001 From: Marshall Polaris Date: Tue, 27 Sep 2022 20:07:47 -0700 Subject: [PATCH] Make FR charts taller by default --- web/components/charts/contract/binary.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/charts/contract/binary.tsx b/web/components/charts/contract/binary.tsx index 4603522c..f7ed406b 100644 --- a/web/components/charts/contract/binary.tsx +++ b/web/components/charts/contract/binary.tsx @@ -44,7 +44,7 @@ export const BinaryContractChart = (props: { const isMobile = useIsMobile(800) const containerRef = useRef(null) const width = useElementWidth(containerRef) ?? 0 - const height = props.height ?? (isMobile ? 150 : 250) + const height = props.height ?? (isMobile ? 250 : 350) const xScale = scaleTime(visibleRange, [0, width - MARGIN_X]) const yScale = scaleLinear([0, 1], [height - MARGIN_Y, 0]) return (