Fix height for the react roadmapgst

interactive-react
Kamran Ahmed 2 years ago
parent aa8e8daacb
commit 9371d8b8e9
  1. 4
      pages/[roadmap]/interactive.tsx

@ -129,6 +129,10 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) {
minHeight = ['600px', '820px', '1340px', '1680px', '1750px', '1750px']; minHeight = ['600px', '820px', '1340px', '1680px', '1750px', '1750px'];
} }
if (roadmap.id === 'react') {
minHeight = ['400px', '865px', '1065px', '1400px', '1400px', '1400px'];
}
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