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
@@ -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',
}, },
}, },
}); });