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

Fix flicker on the UI

This commit is contained in:
Kamran Ahmed
2022-10-03 21:17:32 +04:00
parent c7204f2efc
commit ac7f27440f

View File

@@ -170,6 +170,10 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) {
minHeight = ['685px', '1170px', '1470px', '1980px', '1980px', '1980px'];
}
if (roadmap.id === 'software-design-architecture') {
minHeight = ['515px', '1230px', '1310px', '1765px', '1765px', '1765px'];
}
return (
<Container maxW={'container.lg'} position="relative" minHeight={minHeight}>
{(isLoading || isRendering) && <RoadmapLoader />}