Skip to content

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.

chore: adjust workspace card style (#4371)

JimmFly4ad0e2ffd6a2
diff --git a/apps/core/src/components/pure/workspace-slider-bar/workspace-card/index.tsx b/apps/core/src/components/pure/workspace-slider-bar/workspace-card/index.tsx
index 9bd6e50741..6f18cc2a4a 100644
--- a/apps/core/src/components/pure/workspace-slider-bar/workspace-card/index.tsx
+++ b/apps/core/src/components/pure/workspace-slider-bar/workspace-card/index.tsx
@@ -187,9 +187,6 @@ export const WorkspaceCard = forwardRef<
url={workspaceAvatar}
name={name}
colorfulFallback
- style={{
- marginRight: '10px',
- }}
/>
<StyledSelectorWrapper>
<StyledWorkspaceName data-testid="workspace-name">
diff --git a/apps/core/src/components/pure/workspace-slider-bar/workspace-card/styles.ts b/apps/core/src/components/pure/workspace-slider-bar/workspace-card/styles.ts
index c6da05f9dc..c59ff8e731 100644
--- a/apps/core/src/components/pure/workspace-slider-bar/workspace-card/styles.ts
+++ b/apps/core/src/components/pure/workspace-slider-bar/workspace-card/styles.ts
@@ -26,6 +26,7 @@ export const StyledWorkspaceName = styled('div')(() => {
fontWeight: 600,
userSelect: 'none',
...textEllipsis(1),
+ marginLeft: '4px',
};
});