We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 631f10a commit e8cfdadCopy full SHA for e8cfdad
src/layouts/Layout.tsx
@@ -17,7 +17,10 @@ const Layout = ({ children }: LayoutProps) => {
17
return (
18
<Box sx={{ display: "flex", flexDirection: "column", minHeight: "100vh" }}>
19
<Header />
20
- {!!isTransitioning && <LinearProgress />}
+ {/* Reserve space for the LinearProgress to avoid layout shift */}
21
+ <Box sx={{ minHeight: 4 }}>
22
+ {!!isTransitioning && <LinearProgress />}
23
+ </Box>
24
{/* <Slide appear direction="right" in={!isTransitioning}> */}
25
<Box component="main" sx={{ paddingY: 2 }}>
26
{children}
0 commit comments