1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-02-23 19:13:19 +01:00

Fix blockchain flicker issue

This commit is contained in:
Kamran Ahmed 2022-08-16 15:45:27 +04:00
parent 22b884ce53
commit e496f003c3

View File

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