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.
This commit is contained in:
1 parent
1de933b60c
commit
3f501f4531
1 file changed
+1
-1
@@ -23,7 +23,7 @@ const PageLayout = () => {
|
||||
</Sider>
|
||||
<Layout>
|
||||
<Content
|
||||
style={{ overflowY: styleState.shouldInnerPadding?'auto':'hidden', padding: styleState.shouldInnerPadding? '24px': '0' }}
|
||||
style={{ overflowY: 'auto', padding: styleState.shouldInnerPadding? '24px': '0' }}
|
||||
>
|
||||
<App />
|
||||
</Content>
|
||||
|
||||
Reference in new issue
Block a user