fix(electron): app ghosting issue when quickly opening new tabs (#7736)

fix PD-1519
This commit is contained in:
pengx17
2024-08-05 08:51:11 +00:00
parent 5ab1210c9c
commit 5050418c1a
2 changed files with 4 additions and 1 deletions

View File

@@ -10,6 +10,10 @@ textarea
-webkit-app-region: no-drag;
}
html {
opacity: 0;
}
html:is([data-active='false'], [data-dragging='true']) * {
-webkit-app-region: no-drag !important;
}

View File

@@ -2,7 +2,6 @@ import 'setimmediate';
import '@affine/component/theme/global.css';
import '@affine/component/theme/theme.css';
import '@affine/core/bootstrap/preload';
import '../global.css';
import { ThemeProvider } from '@affine/component/theme-provider';
import { configureAppTabsHeaderModule } from '@affine/core/modules/app-tabs-header';