aboutsummaryrefslogtreecommitdiffstats
path: root/packages/service-preload/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/service-preload/src/index.ts')
-rw-r--r--packages/service-preload/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/service-preload/src/index.ts b/packages/service-preload/src/index.ts
index e546f2f..fb19107 100644
--- a/packages/service-preload/src/index.ts
+++ b/packages/service-preload/src/index.ts
@@ -24,7 +24,7 @@ import { ipcRenderer, webFrame } from 'electron';
24if (webFrame.parent === null) { 24if (webFrame.parent === null) {
25 // Inject CSS to simulate `browserView.setBackgroundColor`. 25 // Inject CSS to simulate `browserView.setBackgroundColor`.
26 // This is injected before the page loads, so the styles from the website will overwrite it. 26 // This is injected before the page loads, so the styles from the website will overwrite it.
27 webFrame.insertCSS(':root { background-color: #fff; }'); 27 webFrame.insertCSS('body { background-color: #fff; }');
28} 28}
29 29
30/** 30/**