mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-23 05:33:08 +03:00
chore(core): reduce unnecessary layers (#8292)
![CleanShot 2024-09-18 at 16.41.23@2x.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/3e0a61e1-4339-4c98-b2f2-a6bf5f934590.png)
This commit is contained in:
parent
bba9e79e59
commit
ce2ce26395
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user