Skip to content

Commit

Permalink
fix(web-admin): Fix sidebar margin
Browse files Browse the repository at this point in the history
  • Loading branch information
alllenshibu committed Feb 4, 2024
1 parent 4869dff commit 1da9709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web-admin/src/layouts/DashboardLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function DashboardLayout({ children }) {
<Sidebar isOpen={isSidebarOpen} onClose={() => setSidebarOpen(false)} />
<Box
flex="1"
marginLeft={isSidebarOpen && !isMobile ? '250px' : '0'}
marginLeft="0"
marginTop={isMobile ? '30px' : '0'}
transition="margin 0.3s ease"
>
Expand Down

0 comments on commit 1da9709

Please sign in to comment.