diff options
author | 2018-02-20 16:10:00 +0100 | |
---|---|---|
committer | 2018-02-20 16:10:00 +0100 | |
commit | 08536e7e0a8995c0a94c363f6c230ec422c4671b (patch) | |
tree | b29658ba85e2ce868e1f04d960ba76affa3d3b17 /src/index.js | |
parent | choose platform with environment variable `FRANZ_PLATFORM` (diff) | |
download | ferdium-app-08536e7e0a8995c0a94c363f6c230ec422c4671b.tar.gz ferdium-app-08536e7e0a8995c0a94c363f6c230ec422c4671b.tar.zst ferdium-app-08536e7e0a8995c0a94c363f6c230ec422c4671b.zip |
fix CSS conflicts
override `reset.scss` with `title-bar.scss`
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index f82bb3590..9ba6e0e43 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -72,7 +72,7 @@ const createWindow = () => { | |||
72 | height: mainWindowState.height, | 72 | height: mainWindowState.height, |
73 | minWidth: 600, | 73 | minWidth: 600, |
74 | minHeight: 500, | 74 | minHeight: 500, |
75 | titleBarStyle: 'hidden', | 75 | titleBarStyle: process.env.FRANZ_PLATFORM || process.platform === 'win32' ? '' : 'hidden', |
76 | backgroundColor: '#3498db', | 76 | backgroundColor: '#3498db', |
77 | autoHideMenuBar: true, | 77 | autoHideMenuBar: true, |
78 | }); | 78 | }); |