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

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

No files matched your search

@@ -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,