mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 14:27:02 +08:00
feat: add disable cursor in edgeless toolbar
This commit is contained in:
@@ -27,7 +27,7 @@ export const StyledToolbarItem = styled.div<{
|
|||||||
height: '36px',
|
height: '36px',
|
||||||
...displayFlex('center', 'center'),
|
...displayFlex('center', 'center'),
|
||||||
color: disable ? theme.colors.disableColor : theme.colors.iconColor,
|
color: disable ? theme.colors.disableColor : theme.colors.iconColor,
|
||||||
cursor: 'pointer',
|
cursor: disable ? 'not-allowed' : 'pointer',
|
||||||
svg: {
|
svg: {
|
||||||
width: '36px',
|
width: '36px',
|
||||||
height: '36px',
|
height: '36px',
|
||||||
|
|||||||
Reference in New Issue
Block a user