Merge pull request #2839 from QuantumNous/fix/sidebar-scroll-dvh
🐛 fix: sidebar scroll on mobile dynamic viewport
This commit is contained in:
@@ -121,8 +121,8 @@ const PageLayout = () => {
|
||||
|
||||
return (
|
||||
<Layout
|
||||
className='app-layout'
|
||||
style={{
|
||||
height: '100vh',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
overflow: isMobile ? 'visible' : 'hidden',
|
||||
@@ -153,6 +153,7 @@ const PageLayout = () => {
|
||||
>
|
||||
{showSider && (
|
||||
<Sider
|
||||
className='app-sider'
|
||||
style={{
|
||||
position: 'fixed',
|
||||
left: 0,
|
||||
@@ -160,7 +161,6 @@ const PageLayout = () => {
|
||||
zIndex: 99,
|
||||
border: 'none',
|
||||
paddingRight: '0',
|
||||
height: 'calc(100vh - 64px)',
|
||||
width: 'var(--sidebar-current-width)',
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user