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