feat(electron): handle onboarding-window moved between screens (#5345)

This commit is contained in:
Cats Juice
2023-12-21 15:44:21 +08:00
committed by GitHub
parent eaa62df2dd
commit c2db8b356c
2 changed files with 29 additions and 4 deletions

View File

@@ -100,8 +100,7 @@ export const onboarding = style([
animation: `${fadeIn} 0.8s linear`,
// content: 'unset',
background:
// 'linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 99.58%)',
'linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 80%)',
'linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 99.58%)',
},
'&[data-is-window="true"][data-is-desktop="true"]::after': {
opacity: 0,