diff --git a/src/app/child-window-handler.ts b/src/app/child-window-handler.ts index ae1fc31b7..9e3c2b987 100644 --- a/src/app/child-window-handler.ts +++ b/src/app/child-window-handler.ts @@ -40,8 +40,8 @@ import { const DEFAULT_POP_OUT_WIDTH = 400; const DEFAULT_POP_OUT_HEIGHT = 600; -const MIN_WIDTH = 400; -const MIN_HEIGHT = 400; +const MIN_WIDTH = isWindowsOS ? 413 : 400; +const MIN_HEIGHT = isWindowsOS ? 405 : 400; const CHILD_WINDOW_EVENTS = ['enter-full-screen', 'leave-full-screen']; diff --git a/src/app/window-handler.ts b/src/app/window-handler.ts index 7acb3451d..f6bd3c5d5 100644 --- a/src/app/window-handler.ts +++ b/src/app/window-handler.ts @@ -102,8 +102,8 @@ export enum ClientSwitchType { export const DEFAULT_WELCOME_SCREEN_WIDTH: number = 542; export const DEFAULT_WELCOME_SCREEN_HEIGHT: number = 333; -const MIN_WIDTH = 400; -const MIN_HEIGHT = 400; +const MIN_WIDTH = isWindowsOS ? 413 : 400; +const MIN_HEIGHT = isWindowsOS ? 405 : 400; const MAIN_WEB_CONTENTS_EVENTS = ['enter-full-screen', 'leave-full-screen']; const SHORTCUT_KEY_THROTTLE = 1000; // 1sec