mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 08:50:50 +08:00
fix: unexpected hover behavior of collection sidebar (#4490)
This commit is contained in:
@@ -62,10 +62,12 @@ export const content = style({
|
|||||||
|
|
||||||
export const postfix = style({
|
export const postfix = style({
|
||||||
justifySelf: 'flex-end',
|
justifySelf: 'flex-end',
|
||||||
visibility: 'hidden',
|
opacity: 0,
|
||||||
|
pointerEvents: 'none',
|
||||||
selectors: {
|
selectors: {
|
||||||
[`${root}:hover &`]: {
|
[`${root}:hover &`]: {
|
||||||
visibility: 'visible',
|
opacity: 1,
|
||||||
|
pointerEvents: 'all',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user