mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore(core): reduce unnecessary layers (#8292)

This commit is contained in:
@@ -14,7 +14,6 @@ export const root = style({
|
||||
},
|
||||
overflow: 'hidden',
|
||||
cursor: 'default',
|
||||
willChange: 'opacity',
|
||||
selectors: {
|
||||
'&[data-clickable=true]': {
|
||||
cursor: 'pointer',
|
||||
@@ -51,7 +50,6 @@ globalStyle(`[data-draggable=true] ${dndCell}:before`, {
|
||||
backgroundColor: cssVar('placeholderColor'),
|
||||
borderRadius: '2px',
|
||||
opacity: 0,
|
||||
willChange: 'height, opacity',
|
||||
});
|
||||
globalStyle(`[data-draggable=true] ${dndCell}:hover:before`, {
|
||||
height: 12,
|
||||
|
||||
Reference in New Issue
Block a user