mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
feat: more fluent
This commit is contained in:
@@ -104,7 +104,17 @@ export const WorkspaceModal = ({ open, onClose }: LoginModalProps) => {
|
|||||||
/>
|
/>
|
||||||
</svg>
|
</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'}
|
{item.name || 'untitled'}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
@@ -112,7 +122,6 @@ export const WorkspaceModal = ({ open, onClose }: LoginModalProps) => {
|
|||||||
style={{
|
style={{
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
top: '6px',
|
top: '6px',
|
||||||
marginLeft: '100px',
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{(item.workspaceType === 'local' ||
|
{(item.workspaceType === 'local' ||
|
||||||
|
|||||||
Reference in New Issue
Block a user