Fixed collapse button not being at bottom.
This commit is contained in:
parent
1a59ad9618
commit
3f353c1f70
@ -93,7 +93,7 @@ const DashboardSidebar = ({
|
||||
vertical
|
||||
className='ant-menu-root ant-menu-inline ant-menu-light'
|
||||
>
|
||||
<div style={{ maxHeight: '100%', overflowY: 'auto' }}>
|
||||
<div style={{ maxHeight: '100%', overflowY: 'auto', height: '100%' }}>
|
||||
<Menu
|
||||
mode='inline'
|
||||
selectedKeys={[selectedKey]}
|
||||
@ -105,7 +105,7 @@ const DashboardSidebar = ({
|
||||
</div>
|
||||
<Flex style={{ padding: '4px', width: '100%' }}>
|
||||
<Button
|
||||
size='large'
|
||||
size={isElectron ? 'middle' : 'large'}
|
||||
type='text'
|
||||
icon={collapsed ? <ExpandSidebarIcon /> : <CollapseSidebarIcon />}
|
||||
style={{ flexGrow: 1 }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user