fix: long text style error in workspace card, fixed #811

This commit is contained in:
QiShaoXuan
2023-02-06 17:27:26 +08:00
parent 56f10bbf50
commit de43f3f0e2

View File

@@ -1,5 +1,6 @@
import { displayFlex, displayInlineFlex, styled } from '@/styles';
import { displayFlex, displayInlineFlex, styled, textEllipsis } from '@/styles';
import { Button } from '@/ui/button';
import text from '*.md';
export const StyledSplitLine = styled.div(({ theme }) => {
return {
@@ -30,6 +31,8 @@ export const StyleWorkspaceTitle = styled.div(({ theme }) => {
fontWeight: 600,
lineHeight: '24px',
marginBottom: '10px',
maxWidth: '200px',
...textEllipsis(1),
};
});