Skip to content

Commit 0fb864c

Browse files
committed
fix-siderbar-scroll
1 parent 3d4c0d1 commit 0fb864c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/DashRoutes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function DashRoutes() {
9393
<DashHeader minimize={setMinimized} />
9494
<Sidebar toggle={toggleNav} style="" />
9595
</MenuProvider>
96-
<main className={`px-4 md:px-8 py-4 md:py-8 ${!minimized ? 'lg:w-[calc(100%-12rem)]' : 'lg:w-[calc(100%-5rem)]'} ml-auto mr-0 bg-light-bg overflow-hidden dark:bg-dark-frame-bg`}>
96+
<main className={`px-4 md:px-8 py-4 md:py-8 ${!minimized ? 'lg:w-[calc(100%-14rem)]' : 'lg:w-[calc(100%-5rem)]'} ml-auto mr-0 bg-light-bg overflow-hidden dark:bg-dark-frame-bg`}>
9797
<Suspense>
9898
<Routes>
9999
<Route path="/dashboard" element={<Dashboard />} />

0 commit comments

Comments
 (0)