Fixed collapse button not being at bottom.

This commit is contained in:
Tom Butcher 2025-08-24 10:50:59 +01:00
parent 1a59ad9618
commit 3f353c1f70

View File

@ -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 }}