style: add hover style to the setting button in workspace card (#4193)

This commit is contained in:
JimmFly
2023-09-07 13:05:38 +08:00
committed by GitHub
parent f789e366f2
commit 0992841673

View File

@@ -62,6 +62,12 @@ export const StyledCard = styled('div')<{
'.setting-entry': {
opacity: 1,
pointerEvents: 'auto',
backgroundColor: 'var(--affine-white-30)',
boxShadow: 'var(--affine-shadow-1)',
':hover': {
background:
'linear-gradient(0deg, var(--affine-hover-color) 0%, var(--affine-hover-color) 100%), var(--affine-white-30)',
},
},
},
'@media (max-width: 720px)': {