Make FR charts taller by default
This commit is contained in:
parent
ac887a729b
commit
e2096f9fa9
|
@ -44,7 +44,7 @@ export const BinaryContractChart = (props: {
|
|||
const isMobile = useIsMobile(800)
|
||||
const containerRef = useRef<HTMLDivElement>(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 (
|
||||
|
|
Loading…
Reference in New Issue
Block a user