Commit 3f501f45 by CalciumIon

fix: Adjust inner padding style in PageLayout component

- Updated the overflowY style to always be 'auto', ensuring consistent scrolling behavior.
- Maintained conditional inner padding based on the styleState, enhancing layout responsiveness.
parent 1de933b6
...@@ -23,7 +23,7 @@ const PageLayout = () => { ...@@ -23,7 +23,7 @@ const PageLayout = () => {
</Sider> </Sider>
<Layout> <Layout>
<Content <Content
style={{ overflowY: styleState.shouldInnerPadding?'auto':'hidden', padding: styleState.shouldInnerPadding? '24px': '0' }} style={{ overflowY: 'auto', padding: styleState.shouldInnerPadding? '24px': '0' }}
> >
<App /> <App />
</Content> </Content>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment