🐛 Improve the normal title bar hiding selector

Signed-off-by: Luka Leer <luka.leer@gmail.com>
This commit is contained in:
Luka Leer 2024-02-12 17:18:45 +01:00
parent 8a762e70d9
commit 587bb8a1f4
No known key found for this signature in database
GPG Key ID: AA82C4EBCB1682E0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}`);
}