feat: add disable cursor in edgeless toolbar
This commit is contained in:
1 parent
659e83befd
commit
e729effcd8
1 file changed
+1
-1
@@ -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