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.

feat: more fluent

tzhangchi900d95fa8778
diff --git a/packages/app/src/components/workspace-modal/index.tsx b/packages/app/src/components/workspace-modal/index.tsx
index 1f332ce904..c1d4402f92 100644
--- a/packages/app/src/components/workspace-modal/index.tsx
+++ b/packages/app/src/components/workspace-modal/index.tsx
@@ -104,7 +104,17 @@ export const WorkspaceModal = ({ open, onClose }: LoginModalProps) => {
/>
</svg>
- <span style={{ width: '100px', display: 'inline-block' }}>
+ <span
+ style={{
+ width: '255px',
+ display: 'inline-block',
+ textOverflow: 'ellipsis',
+ whiteSpace: 'nowrap',
+ overflow: 'hidden',
+ position: 'relative',
+ top: '5px',
+ }}
+ >
{item.name || 'untitled'}
</span>
</span>
@@ -112,7 +122,6 @@ export const WorkspaceModal = ({ open, onClose }: LoginModalProps) => {
style={{
position: 'relative',
top: '6px',
- marginLeft: '100px',
}}
>
{(item.workspaceType === 'local' ||