feat: more fluent

This commit is contained in:
tzhangchi
2023-01-06 00:51:43 +08:00
parent 76f75faf6c
commit 900d95fa87

View File

@@ -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' ||