mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-09-01 05:21:43 +02:00
Fix flicker on the UI
This commit is contained in:
@@ -170,6 +170,10 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) {
|
|||||||
minHeight = ['685px', '1170px', '1470px', '1980px', '1980px', '1980px'];
|
minHeight = ['685px', '1170px', '1470px', '1980px', '1980px', '1980px'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (roadmap.id === 'software-design-architecture') {
|
||||||
|
minHeight = ['515px', '1230px', '1310px', '1765px', '1765px', '1765px'];
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container maxW={'container.lg'} position="relative" minHeight={minHeight}>
|
<Container maxW={'container.lg'} position="relative" minHeight={minHeight}>
|
||||||
{(isLoading || isRendering) && <RoadmapLoader />}
|
{(isLoading || isRendering) && <RoadmapLoader />}
|
||||||
|
Reference in New Issue
Block a user