Browse Source

chore: fix default_app dimensions (#22675)

Samuel Attard 5 years ago
parent
commit
cd5e3901de
2 changed files with 4 additions and 4 deletions
  1. 3 3
      default_app/default_app.ts
  2. 1 1
      default_app/styles.css

+ 3 - 3
default_app/default_app.ts

@@ -45,10 +45,10 @@ async function createWindow () {
   await app.whenReady()
 
   const options: Electron.BrowserWindowConstructorOptions = {
-    width: 900,
-    height: 600,
+    width: 960,
+    height: 620,
     autoHideMenuBar: true,
-    backgroundColor: '#FFFFFF',
+    backgroundColor: '#2f3241',
     webPreferences: {
       preload: path.resolve(__dirname, 'preload.js'),
       contextIsolation: true,

+ 1 - 1
default_app/styles.css

@@ -8,7 +8,7 @@ body {
 }
 
 .container {
-  margin: 15px 30px 30px 30px;
+  margin: 15px 30px;
   background-color: #2f3241;
   flex: 1;
   display: flex;