mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
chore: fix default_app dimensions (#22675)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user