Browse Source

Correct spacing in MainSideBar

master
meriadec 7 years ago
parent
commit
d35c5242a7
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 6
      src/components/MainSideBar.js
  2. 2
      src/components/base/SideBar/SideBarList.js

6
src/components/MainSideBar.js

@ -133,12 +133,12 @@ class MainSideBar extends PureComponent<Props> {
return ( return (
<Box bg="white" style={{ width: 230 }}> <Box bg="white" style={{ width: 230 }}>
<Space of={60} /> <Space of={70} />
<SideBarList items={navigationItems} /> <SideBarList title={t('sidebar:menu')} items={navigationItems} />
<Space of={40} /> <Space of={40} />
<SideBarList <SideBarList
scroll scroll
title={t('sidebar:menu')} title={t('sidebar:accounts')}
titleRight={ titleRight={
<PlusWrapper onClick={() => openModal('importAccounts')}> <PlusWrapper onClick={() => openModal('importAccounts')}>
<IconPlus size={16} /> <IconPlus size={16} />

2
src/components/base/SideBar/SideBarList.js

@ -31,7 +31,7 @@ class SideBarList extends PureComponent<Props> {
{title} {title}
{!!titleRight && <Box ml="auto">{titleRight}</Box>} {!!titleRight && <Box ml="auto">{titleRight}</Box>}
</SideBarListTitle> </SideBarListTitle>
<Space of={10} /> <Space of={20} />
</Fragment> </Fragment>
)} )}
<ListWrapper flow={2} px={3} fontSize={3} {...props}> <ListWrapper flow={2} px={3} fontSize={3} {...props}>

Loading…
Cancel
Save