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();
|
||||
return (
|
||||
<Stack
|
||||
overflow={"hidden"}
|
||||
direction="row"
|
||||
minHeight="100vh"
|
||||
>
|
||||
|
||||
@@ -37,6 +37,9 @@ export const SideBar = () => {
|
||||
<Stack
|
||||
component="aside"
|
||||
position="sticky"
|
||||
top={0}
|
||||
minHeight={"100vh"}
|
||||
maxHeight={"100vh"}
|
||||
paddingTop={theme.spacing(6)}
|
||||
paddingBottom={theme.spacing(6)}
|
||||
gap={theme.spacing(6)}
|
||||
|
||||
Reference in new issue
Block a user