mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 09:06:19 +08:00
chore(core): align sidebar icons (#6219)
This commit is contained in:
@@ -229,17 +229,19 @@ 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' }} />
|
||||||
<RouteMenuLinkItem
|
<div style={{ padding: '0 8px' }}>
|
||||||
ref={trashDroppable.setNodeRef}
|
<RouteMenuLinkItem
|
||||||
icon={<AnimatedDeleteIcon closed={trashDroppable.isOver} />}
|
ref={trashDroppable.setNodeRef}
|
||||||
active={trashActive}
|
icon={<AnimatedDeleteIcon closed={trashDroppable.isOver} />}
|
||||||
path={paths.trash(currentWorkspaceId)}
|
active={trashActive}
|
||||||
>
|
path={paths.trash(currentWorkspaceId)}
|
||||||
<span data-testid="trash-page">
|
>
|
||||||
{t['com.affine.workspaceSubPath.trash']()}
|
<span data-testid="trash-page">
|
||||||
</span>
|
{t['com.affine.workspaceSubPath.trash']()}
|
||||||
</RouteMenuLinkItem>
|
</span>
|
||||||
<ImportPage docCollection={docCollection} />
|
</RouteMenuLinkItem>
|
||||||
|
<ImportPage docCollection={docCollection} />
|
||||||
|
</div>
|
||||||
</SidebarScrollableContainer>
|
</SidebarScrollableContainer>
|
||||||
<SidebarContainer>
|
<SidebarContainer>
|
||||||
{environment.isDesktop ? <UpdaterButton /> : <AppDownloadButton />}
|
{environment.isDesktop ? <UpdaterButton /> : <AppDownloadButton />}
|
||||||
|
|||||||
Reference in New Issue
Block a user