mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 12:06:35 +08:00
chore(core): align sidebar icons (#6219)
This commit is contained in:
@@ -229,6 +229,7 @@ export const RootAppSidebar = ({
|
|||||||
<CategoryDivider label={t['com.affine.rootAppSidebar.others']()} />
|
<CategoryDivider label={t['com.affine.rootAppSidebar.others']()} />
|
||||||
{/* fixme: remove the following spacer */}
|
{/* fixme: remove the following spacer */}
|
||||||
<div style={{ height: '4px' }} />
|
<div style={{ height: '4px' }} />
|
||||||
|
<div style={{ padding: '0 8px' }}>
|
||||||
<RouteMenuLinkItem
|
<RouteMenuLinkItem
|
||||||
ref={trashDroppable.setNodeRef}
|
ref={trashDroppable.setNodeRef}
|
||||||
icon={<AnimatedDeleteIcon closed={trashDroppable.isOver} />}
|
icon={<AnimatedDeleteIcon closed={trashDroppable.isOver} />}
|
||||||
@@ -240,6 +241,7 @@ export const RootAppSidebar = ({
|
|||||||
</span>
|
</span>
|
||||||
</RouteMenuLinkItem>
|
</RouteMenuLinkItem>
|
||||||
<ImportPage docCollection={docCollection} />
|
<ImportPage docCollection={docCollection} />
|
||||||
|
</div>
|
||||||
</SidebarScrollableContainer>
|
</SidebarScrollableContainer>
|
||||||
<SidebarContainer>
|
<SidebarContainer>
|
||||||
{environment.isDesktop ? <UpdaterButton /> : <AppDownloadButton />}
|
{environment.isDesktop ? <UpdaterButton /> : <AppDownloadButton />}
|
||||||
|
|||||||
Reference in New Issue
Block a user