mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 09:21:24 +08:00
fix: flickering animation on switching between Edgeless and Paper mode (#1151)
This commit is contained in:
@@ -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,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user