style: add text overflow style for collections (#3292)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
JimmFly
2023-07-21 11:48:22 +08:00
committed by GitHub
parent 9f105b5806
commit cff741e9ba
7 changed files with 93 additions and 36 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ export const Popper = ({
defaultVisible = false,
visible: propsVisible,
trigger = 'hover',
pointerEnterDelay = 100,
pointerEnterDelay = 500,
pointerLeaveDelay = 100,
onVisibleChange,
popoverStyle,
@@ -15,6 +15,7 @@ const StyledTooltip = styled(StyledPopperContainer)(() => {
fontSize: 'var(--affine-font-sm)',
borderRadius: '8px',
marginBottom: '12px',
overflowWrap: 'break-word',
};
});