Fix blockchain flicker issue

pull/1521/head
Kamran Ahmed 2 years ago
parent 6866c1479f
commit e2a49d82ff
  1. 4
      pages/[roadmap]/interactive.tsx

@ -133,6 +133,10 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) {
minHeight = ['400px', '865px', '1065px', '1400px', '1400px', '1400px']; minHeight = ['400px', '865px', '1065px', '1400px', '1400px', '1400px'];
} }
if (roadmap.id === 'blockchain') {
minHeight = ['780px', '1120px', '1770px', '2235px', '2235px', '2235px'];
}
return ( return (
<Container maxW={'container.lg'} position="relative" minHeight={minHeight}> <Container maxW={'container.lg'} position="relative" minHeight={minHeight}>
{(isLoading || isRendering) && <RoadmapLoader />} {(isLoading || isRendering) && <RoadmapLoader />}

Loading…
Cancel
Save