From fdbbf1c1bfea227c8437083725ad52637a9a59db Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sat, 8 Dec 2018 11:15:47 -0600 Subject: [PATCH] Layout changes --- electron.js | 4 ++-- src/App.js | 5 ++--- src/index.css | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/electron.js b/electron.js index c3d5987..993f192 100644 --- a/electron.js +++ b/electron.js @@ -25,7 +25,7 @@ function createWindow() { loadUiSettings(); // Create the browser window. - const height = (process.env.ELECTRON_START_URL ? 394 : 374) - (os.platform() === 'win32' ? 0 : 20); + const height = (process.env.ELECTRON_START_URL ? 402 : 382) - (os.platform() === 'win32' ? 0 : 20); mainWindow = new BrowserWindow({ width: 425 + (os.platform() === 'win32' ? 0 : 130), height: height, @@ -284,7 +284,7 @@ ipcMain.on(Constants.IPC_Detect_Mounts, (event, data) => { }; const setImage = (hsLocation, siaLocation, siaPrimeLocation) => { - if (os.platform() === 'win32') { + if (os.platform() === 'win32' || os.platform() === 'linux') { let image; if ((siaLocation.length > 0) || (hsLocation.length > 0) || (siaPrimeLocation.length > 0)) { image = nativeImage.createFromPath(path.join(__dirname, '/build/logo_both.png')); diff --git a/src/App.js b/src/App.js index 81a36c6..320356c 100644 --- a/src/App.js +++ b/src/App.js @@ -698,8 +698,7 @@ class App extends Component { if (allowMount) { mainContent.push(( -
+
- + {mainContent}
diff --git a/src/index.css b/src/index.css index 6323f62..bb12ef1 100644 --- a/src/index.css +++ b/src/index.css @@ -18,7 +18,7 @@ * { font-family: 'Nunito', sans-serif; - font-size: 4.4vmin; + font-size: 4vmin; } *::-moz-focus-inner {