mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 21:38:44 +08:00
feat: support pivots menu (#1755)
This commit is contained in:
@@ -15,8 +15,8 @@ export const StyledTreeNodeWrapper = styled('div')(() => {
|
||||
position: 'relative',
|
||||
};
|
||||
});
|
||||
export const StyledTreeNodeContainer = styled('div')<{ isDragging: boolean }>(
|
||||
({ isDragging, theme }) => {
|
||||
export const StyledTreeNodeContainer = styled('div')<{ isDragging?: boolean }>(
|
||||
({ isDragging = false, theme }) => {
|
||||
return {
|
||||
background: isDragging ? theme.colors.hoverBackground : '',
|
||||
// opacity: isDragging ? 0.4 : 1,
|
||||
|
||||
Reference in New Issue
Block a user