feat: fix code review

This commit is contained in:
SaikaSakura
2022-08-03 14:38:27 +08:00
committed by Austaras
parent 3070322393
commit e813b4a8d9
3 changed files with 4 additions and 6 deletions

View File

@@ -86,9 +86,7 @@ const GridHandleContainer = styled('div')<{
borderRadius: '1px',
backgroundClip: 'content-box',
' &:hover': {
backgroundColor: isAlert
? 'red !important'
: theme.affine.palette.primary,
backgroundColor: isAlert ? 'red' : theme.affine.palette.primary,
[`.${GRID_ADD_HANDLE_NAME}`]: {
display: 'block',
},