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

This commit is contained in:
zqran
2023-02-21 15:52:07 +08:00
committed by GitHub
parent fd47fe3fc1
commit 41aec24f9b

View File

@@ -136,6 +136,7 @@ export const StyledLabel = styled('div')<{
transition: `transform ${ANIMATE_DURATION}ms`,
fontWeight: 'normal',
overflow: 'hidden',
whiteSpace: 'nowrap',
...shrinkStyle,
};
});