stikcy sidebar
This commit is contained in:
1 parent
c7799ca7dc
commit
5018c56d0d
2 files changed
+3
-1
No files matched your search
@@ -6,7 +6,6 @@ const RootLayout = () => {
|
|||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
return (
|
return (
|
||||||
<Stack
|
<Stack
|
||||||
overflow={"hidden"}
|
|
||||||
direction="row"
|
direction="row"
|
||||||
minHeight="100vh"
|
minHeight="100vh"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -37,6 +37,9 @@ export const SideBar = () => {
|
|||||||
<Stack
|
<Stack
|
||||||
component="aside"
|
component="aside"
|
||||||
position="sticky"
|
position="sticky"
|
||||||
|
top={0}
|
||||||
|
minHeight={"100vh"}
|
||||||
|
maxHeight={"100vh"}
|
||||||
paddingTop={theme.spacing(6)}
|
paddingTop={theme.spacing(6)}
|
||||||
paddingBottom={theme.spacing(6)}
|
paddingBottom={theme.spacing(6)}
|
||||||
gap={theme.spacing(6)}
|
gap={theme.spacing(6)}
|
||||||
|
|||||||
Reference in new issue
Block a user