fix(electron): app ghosting issue when quickly opening new tabs (#7736)
fix PD-1519
This commit is contained in:
@@ -10,6 +10,10 @@ textarea
|
|||||||
-webkit-app-region: no-drag;
|
-webkit-app-region: no-drag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
html:is([data-active='false'], [data-dragging='true']) * {
|
html:is([data-active='false'], [data-dragging='true']) * {
|
||||||
-webkit-app-region: no-drag !important;
|
-webkit-app-region: no-drag !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ import 'setimmediate';
|
|||||||
import '@affine/component/theme/global.css';
|
import '@affine/component/theme/global.css';
|
||||||
import '@affine/component/theme/theme.css';
|
import '@affine/component/theme/theme.css';
|
||||||
import '@affine/core/bootstrap/preload';
|
import '@affine/core/bootstrap/preload';
|
||||||
import '../global.css';
|
|
||||||
|
|
||||||
import { ThemeProvider } from '@affine/component/theme-provider';
|
import { ThemeProvider } from '@affine/component/theme-provider';
|
||||||
import { configureAppTabsHeaderModule } from '@affine/core/modules/app-tabs-header';
|
import { configureAppTabsHeaderModule } from '@affine/core/modules/app-tabs-header';
|
||||||
|
|||||||
Reference in New Issue
Block a user