mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix: long text style error in workspace card, fixed #811
This commit is contained in:
@@ -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),
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user