1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-09-08 16:20:40 +02:00

Fix responsiveness flicker on interactive vue roadmap

This commit is contained in:
Kamran Ahmed
2022-08-08 20:41:43 +04:00
parent dbef1919dc
commit a6b496aa68

View File

@@ -125,6 +125,10 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) {
minHeight = ['870px', '1920px', '2505px', '2591px', '2591px', '2591px'];
}
if (roadmap.id === 'vue') {
minHeight = ['600px', '820px', '1340px', '1680px', '1750px', '1750px'];
}
return (
<Container maxW={'container.lg'} position="relative" minHeight={minHeight}>
{(isLoading || isRendering) && <RoadmapLoader />}