🐛 Improve the normal title bar hiding selector
Signed-off-by: Luka Leer <luka.leer@gmail.com>
This commit is contained in:
parent
8a762e70d9
commit
587bb8a1f4
|
@ -23,7 +23,7 @@ class BrowserWindow extends electron.BrowserWindow {
|
|||
super(options);
|
||||
|
||||
if (typeof(shouldHaveFrame) === "boolean" && shouldHaveFrame) {
|
||||
this.webContents.insertCSS(`div[class*="titleBar_"] {
|
||||
this.webContents.insertCSS(`div[class^="titleBar_"], div[class*=" titleBar_"] {
|
||||
display: none !important;
|
||||
}`);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue