chore: fix default_app dimensions (#22675)
This commit is contained in:
parent
7814c67830
commit
cd5e3901de
2 changed files with 4 additions and 4 deletions
|
@ -45,10 +45,10 @@ async function createWindow () {
|
||||||
await app.whenReady()
|
await app.whenReady()
|
||||||
|
|
||||||
const options: Electron.BrowserWindowConstructorOptions = {
|
const options: Electron.BrowserWindowConstructorOptions = {
|
||||||
width: 900,
|
width: 960,
|
||||||
height: 600,
|
height: 620,
|
||||||
autoHideMenuBar: true,
|
autoHideMenuBar: true,
|
||||||
backgroundColor: '#FFFFFF',
|
backgroundColor: '#2f3241',
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
preload: path.resolve(__dirname, 'preload.js'),
|
preload: path.resolve(__dirname, 'preload.js'),
|
||||||
contextIsolation: true,
|
contextIsolation: true,
|
||||||
|
|
|
@ -8,7 +8,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
margin: 15px 30px 30px 30px;
|
margin: 15px 30px;
|
||||||
background-color: #2f3241;
|
background-color: #2f3241;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue