open-design/apps/desktop/src/main
Sid 1dc0224599
fix(desktop): enforce minimum window size on main client (#1189) (#1203)
The main BrowserWindow was created with only `width: 1280, height: 900`
and no `minWidth` / `minHeight`, so Electron honored arbitrary user
drags. Past roughly 900×600 the project page's left/right split (chat
composer + designs panel + preview pane) overlaps and the top
navigation clips, which is the broken first impression reported in
#1189.

Pin `minWidth: 900, minHeight: 600` on the main window — preserves the
usable layout floor while still fitting common 13" small-screen
laptops. The ephemeral print sub-window (`show: false`, closed on
print completion) is unchanged: it isn't user-resizable so a min-size
floor has no observable effect there.
2026-05-11 12:33:47 +08:00
..
index.ts feat(web): add Finalize design package + Continue in CLI buttons (#451) (#974) 2026-05-10 11:44:32 +08:00
pdf-export.ts fix(web+desktop): handle popup-blocked PDF export with native Electron print dialog (#973) 2026-05-10 11:45:46 +08:00
preload.cts fix(web+desktop): handle popup-blocked PDF export with native Electron print dialog (#973) 2026-05-10 11:45:46 +08:00
runtime.ts fix(desktop): enforce minimum window size on main client (#1189) (#1203) 2026-05-11 12:33:47 +08:00