fix: flickering animation on switching between Edgeless and Paper mode (#1151)

This commit is contained in:
zqran authored and GitHub committed 2023-02-21 15:52:07 +08:00
1 parent fd47fe3fc1
commit 41aec24f9b
1 file changed
+1
@@ -136,6 +136,7 @@ export const StyledLabel = styled('div')<{
transition: `transform ${ANIMATE_DURATION}ms`, transition: `transform ${ANIMATE_DURATION}ms`,
fontWeight: 'normal', fontWeight: 'normal',
overflow: 'hidden', overflow: 'hidden',
whiteSpace: 'nowrap',
...shrinkStyle, ...shrinkStyle,
}; };
}); });