mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-21 16:41:24 +02:00
Improve web vitals
This commit is contained in:
@@ -179,6 +179,10 @@ export function InteractiveRoadmapRenderer(props: RoadmapProps) {
|
|||||||
minHeight = ['830px', '1534px', '1553px', '2093px', '2093px', '2093px'];
|
minHeight = ['830px', '1534px', '1553px', '2093px', '2093px', '2093px'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (roadmap.id === 'computer-science') {
|
||||||
|
minHeight = ['1222px', '1393px', '2288px', '3084px', '3084px', '3084px'];
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Container maxW={'container.lg'} position="relative" minHeight={minHeight} pos='relative'>
|
<Container maxW={'container.lg'} position="relative" minHeight={minHeight} pos='relative'>
|
||||||
{(isLoading || isRendering) && <RoadmapLoader />}
|
{(isLoading || isRendering) && <RoadmapLoader />}
|
||||||
|
Reference in New Issue
Block a user