There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(core): ensure the divider between cloud and local is displayed correctly (#10352)
CatsJuice64370980b38c
diff --git a/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.css.ts b/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.css.tsindex 6384343634..5d91da65ff 100644--- a/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.css.ts+++ b/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.css.ts@@ -53,6 +53,9 @@ export const workspaceServerName = style([},},]);+export const infoMoreIcon = style({+ color: cssVarV2.icon.secondary,+});export const workspaceServerSpacer = style({width: 0,diff --git a/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.tsx b/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.tsxindex aefac037bc..add794d7db 100644--- a/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.tsx+++ b/packages/frontend/core/src/components/workspace-selector/user-with-workspace-list/workspace-list/index.tsx@@ -121,7 +121,9 @@ const WorkspaceServerInfo = ({<div className={styles.workspaceServerSpacer} />{menuItems.length ? (<Menu items={menuItems}>- <IconButton icon={<MoreHorizontalIcon />} />+ <IconButton+ icon={<MoreHorizontalIcon className={styles.infoMoreIcon} />}+ /></Menu>) : null}</div>@@ -301,10 +303,9 @@ export const AFFiNEWorkspaceList = ({onClickWorkspace={handleClickWorkspace}/></FrameworkScope>- {localWorkspaces.length > 0 ||- (selfhostServers.length > 0 && (- <Divider size="thinner" className={styles.serverDivider} />- ))}+ {(localWorkspaces.length > 0 || selfhostServers.length > 0) && (+ <Divider size="thinner" className={styles.serverDivider} />+ )}{/* 2. local */}<LocalWorkspaces