fix: unexpected hover behavior of collection sidebar (#4490)

This commit is contained in:
JimmFly
2023-09-25 18:22:59 +08:00
committed by GitHub
parent 5b4ce75e13
commit 35dc6d6687

View File

@@ -62,10 +62,12 @@ export const content = style({
export const postfix = style({
justifySelf: 'flex-end',
visibility: 'hidden',
opacity: 0,
pointerEvents: 'none',
selectors: {
[`${root}:hover &`]: {
visibility: 'visible',
opacity: 1,
pointerEvents: 'all',
},
},
});