smaller default window size to account for larger screens

This commit is contained in:
Egor 2025-09-20 00:29:18 -07:00
parent a4a7d54588
commit 1f895946cb
3 changed files with 4 additions and 4 deletions

View file

@ -325,14 +325,14 @@ export const LaunchScreen = ({ onLaunch }: LaunchScreenProps) => {
onChange={setActiveTab} onChange={setActiveTab}
styles={{ styles={{
root: { root: {
maxHeight: '54vh', maxHeight: '51vh',
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
}, },
panel: { panel: {
flex: 1, flex: 1,
overflow: 'auto', overflow: 'auto',
paddingTop: '0.75rem', paddingTop: '1rem',
paddingRight: '0.5rem', paddingRight: '0.5rem',
}, },
}} }}

View file

@ -71,7 +71,7 @@ export const SettingsModal = ({
> >
<div <div
style={{ style={{
height: '67vh', height: '66vh',
padding: 0, padding: 0,
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',

View file

@ -10,7 +10,7 @@ let mainWindow: BrowserWindow | null = null;
export function createMainWindow() { export function createMainWindow() {
const { size } = screen.getPrimaryDisplay(); const { size } = screen.getPrimaryDisplay();
const windowHeight = Math.floor(size.height * 0.9); const windowHeight = Math.min(Math.floor(size.height * 0.75), 1000);
const windowWidth = 800; const windowWidth = 800;
const icon = isDevelopment const icon = isDevelopment