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 {
|
.home-content-wrapper {
|
||||||
padding: var(--env-var-spacing-2);
|
padding: var(--env-var-spacing-2);
|
||||||
max-width: 1400px;
|
|
||||||
margin: 0 auto;
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|||||||
@@ -13,13 +13,15 @@ const HomeLayout = () => {
|
|||||||
className="home-layout"
|
className="home-layout"
|
||||||
flexDirection="row"
|
flexDirection="row"
|
||||||
gap={14}
|
gap={14}
|
||||||
sx={{
|
|
||||||
marginRight: `${requiredPaddingRight}px`,
|
|
||||||
transition: "margin-right 300ms ease-in-out",
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<Sidebar />
|
<Sidebar />
|
||||||
<Stack className="home-content-wrapper">
|
<Stack
|
||||||
|
className="home-content-wrapper"
|
||||||
|
sx={{
|
||||||
|
paddingRight: `${requiredPaddingRight}px`,
|
||||||
|
transition: "padding-right 300ms ease-in-out",
|
||||||
|
}}
|
||||||
|
>
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</Stack>
|
</Stack>
|
||||||
<UserGuideSidebar />
|
<UserGuideSidebar />
|
||||||
|
|||||||
Reference in new issue
Block a user