From 236495cdd8afe1b0f1bb26d4d88161b1c584aa8c Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 7 Nov 2022 13:15:37 +0400 Subject: [PATCH] Improve web vitals --- pages/[roadmap]/interactive.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/[roadmap]/interactive.tsx b/pages/[roadmap]/interactive.tsx index cef56fa02..7b3d5f7a5 100644 --- a/pages/[roadmap]/interactive.tsx +++ b/pages/[roadmap]/interactive.tsx @@ -179,6 +179,10 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) { minHeight = ['830px', '1534px', '1553px', '2093px', '2093px', '2093px']; } + if (roadmap.id === 'computer-science') { + minHeight = ['1222px', '1393px', '2288px', '3084px', '3084px', '3084px']; + } + return ( {(isLoading || isRendering) && }