mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 02:13:41 +00:00
Adjust minimum window size for better layout
This commit is contained in:
parent
3516b609f6
commit
821f41d69a
1 changed files with 2 additions and 2 deletions
|
|
@ -28,8 +28,8 @@ function createWindow() {
|
|||
const mainWindow = new BrowserWindow({
|
||||
width: 1600,
|
||||
height: 1000,
|
||||
minWidth: 1024, // Prevent layout from breaking into single-column mobile view
|
||||
minHeight: 700,
|
||||
minWidth: 1280, // Prevent layout from breaking into single-column mobile view
|
||||
minHeight: 720,
|
||||
autoHideMenuBar: true, // Hide the menu bar (can be toggled with Alt key)
|
||||
webPreferences: {
|
||||
preload: join(__dirname, 'preload.js'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue