Skip to content

Commit

Permalink
fix: the layout error (#6895)
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsweet authored Jan 31, 2024
1 parent 70165df commit 5ce4da4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions config-ui/src/routes/layout/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export const Layout = () => {
{version}
</div>
</Sider>
<AntdLayout style={{ overflowY: 'auto' }}>
<AntdLayout>
<Header
style={{
display: 'flex',
Expand All @@ -162,8 +162,10 @@ export const Layout = () => {
</ExternalLink>
))}
</Header>
<Content style={{ margin: '16px auto', padding: '0 24px', width: 1188, boxSizing: 'border-box' }}>
<Outlet />
<Content style={{ overflowY: 'auto' }}>
<div style={{ padding: 24 }}>
<Outlet />
</div>
{!import.meta.env.DEVLAKE_COPYRIGHT_HIDE && (
<Footer>
<p style={{ textAlign: 'center' }}>Apache 2.0 License</p>
Expand Down

0 comments on commit 5ce4da4

Please sign in to comment.