fix: adjust some styles (#2438)

This commit is contained in:
Peng Xiao
2023-05-18 17:24:23 +08:00
committed by GitHub
parent 89310c9b97
commit b2556db33b
13 changed files with 110 additions and 40 deletions
@@ -62,11 +62,17 @@ export const closeIcon = style({
cursor: 'pointer',
transition: '0.1s',
borderRadius: '50%',
transform: 'scale(0.6)',
zIndex: 1,
opacity: 0,
selectors: {
'&:hover': {
transform: 'scale(1.1)',
},
[`${root}:hover &`]: {
opacity: 1,
transform: 'scale(1)',
},
},
});