1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-28 12:35:40 +01:00

window sizes

This commit is contained in:
Kyle Spearrin 2018-01-17 16:06:57 -05:00
parent a4abddfb6a
commit 17c61acf65

View File

@ -16,10 +16,13 @@ function createWindow() {
// Create the browser window.
win = new BrowserWindow({
x: 0,
y: 0,
width: primaryScreenSize.width,
height: primaryScreenSize.height,
width: primaryScreenSize.width < 950 ? primaryScreenSize.width : 950,
height: primaryScreenSize.height < 700 ? primaryScreenSize.height : 700,
minWidth: 680,
minHeight: 500,
title: app.getName(),
darkTheme: true,
vibrancy: 'ultra-dark',
});
// and load the index.html of the app.