fix: add right padding to content wrapper for sidebar spacing
This commit is contained in:
1 parent
2f7de5d103
commit
7663ad6c74
2 files changed
+7
-7
No files matched your search
@@ -29,8 +29,6 @@
|
||||
|
||||
.home-content-wrapper {
|
||||
padding: var(--env-var-spacing-2);
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
overflow-x: hidden;
|
||||
|
||||
@@ -13,13 +13,15 @@ const HomeLayout = () => {
|
||||
className="home-layout"
|
||||
flexDirection="row"
|
||||
gap={14}
|
||||
sx={{
|
||||
marginRight: `${requiredPaddingRight}px`,
|
||||
transition: "margin-right 300ms ease-in-out",
|
||||
}}
|
||||
>
|
||||
<Sidebar />
|
||||
<Stack className="home-content-wrapper">
|
||||
<Stack
|
||||
className="home-content-wrapper"
|
||||
sx={{
|
||||
paddingRight: `${requiredPaddingRight}px`,
|
||||
transition: "padding-right 300ms ease-in-out",
|
||||
}}
|
||||
>
|
||||
<Outlet />
|
||||
</Stack>
|
||||
<UserGuideSidebar />
|
||||
|
||||
Reference in new issue
Block a user