mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
Change modal size to 600x600
This commit is contained in:
@@ -257,7 +257,7 @@ export class WindowMain {
|
||||
this.win = new BrowserWindow({
|
||||
width: this.windowStates[mainWindowSizeKey].width,
|
||||
height: this.windowStates[mainWindowSizeKey].height,
|
||||
minWidth: 680,
|
||||
minWidth: 600,
|
||||
minHeight: 500,
|
||||
x: this.windowStates[mainWindowSizeKey].x,
|
||||
y: this.windowStates[mainWindowSizeKey].y,
|
||||
|
||||
@@ -3,8 +3,8 @@ import { BrowserWindow } from "electron";
|
||||
import { WindowState } from "./models/domain/window-state";
|
||||
|
||||
// change as needed, however limited by mainwindow minimum size
|
||||
const popupWidth = 680;
|
||||
const popupHeight = 500;
|
||||
const popupWidth = 600;
|
||||
const popupHeight = 600;
|
||||
|
||||
type Position = { x: number; y: number };
|
||||
|
||||
@@ -40,7 +40,7 @@ function positionWindow(window: BrowserWindow, position?: Position) {
|
||||
}
|
||||
|
||||
export function applyMainWindowStyles(window: BrowserWindow, existingWindowState: WindowState) {
|
||||
window.setMinimumSize(680, 500);
|
||||
window.setMinimumSize(600, 500);
|
||||
|
||||
// need to guard against null/undefined values
|
||||
|
||||
|
||||
Reference in New Issue
Block a user