From 437dee4d24e011b1eea23150704e58e73b948db2 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sat, 13 Aug 2022 02:48:11 +0400 Subject: [PATCH] Fix flicker on python roadmap --- pages/[roadmap]/interactive.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/[roadmap]/interactive.tsx b/pages/[roadmap]/interactive.tsx index 214aeeea6..7a40213a6 100644 --- a/pages/[roadmap]/interactive.tsx +++ b/pages/[roadmap]/interactive.tsx @@ -133,6 +133,10 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) { minHeight = ['400px', '865px', '1065px', '1400px', '1400px', '1400px']; } + if (roadmap.id === 'python') { + minHeight = ['495px', '598px', '919px', '1238px', '1238px', '1238px']; + } + return ( {(isLoading || isRendering) && }