From bc0da926e495f5dbc2b272119404a2572c0ae8e8 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Thu, 18 Aug 2022 02:33:32 +0400 Subject: [PATCH] Fix flicker issue on javascript roadmap --- pages/[roadmap]/interactive.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/[roadmap]/interactive.tsx b/pages/[roadmap]/interactive.tsx index 185be7594..b11723ee0 100644 --- a/pages/[roadmap]/interactive.tsx +++ b/pages/[roadmap]/interactive.tsx @@ -141,6 +141,10 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) { minHeight = ['590px', '1201px', '1201px', '1625px', '1625px', '1625px']; } + if (roadmap.id === 'javascript') { + minHeight = ['892px', '1835px', '1835px', '2475px', '2475px', '2475px']; + } + return ( {(isLoading || isRendering) && }