Update minimum app dimensions

This commit is contained in:
jeffvli 2023-06-03 17:36:12 -07:00 committed by Jeff
parent 782c351ca6
commit 7430bba853
4 changed files with 4 additions and 4 deletions

View file

@ -209,8 +209,8 @@ const createWindow = async () => {
frame: false, frame: false,
height: 900, height: 900,
icon: getAssetPath('icon.png'), icon: getAssetPath('icon.png'),
minHeight: 600, minHeight: 640,
minWidth: 640, minWidth: 480,
show: false, show: false,
webPreferences: { webPreferences: {
allowRunningInsecureContent: !!store.get('ignore_ssl'), allowRunningInsecureContent: !!store.get('ignore_ssl'),

View file

@ -19,7 +19,7 @@ import { RightControls } from './right-controls';
import { PlayersRef } from '/@/renderer/features/player/ref/players-ref'; import { PlayersRef } from '/@/renderer/features/player/ref/players-ref';
const PlayerbarContainer = styled.div` const PlayerbarContainer = styled.div`
width: 100%; width: 100vw;
height: 100%; height: 100%;
border-top: var(--playerbar-border-top); border-top: var(--playerbar-border-top);
`; `;

View file

@ -35,6 +35,7 @@ const Layout = styled.div<{ windowBarStyle: Platform }>`
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: 0; gap: 0;
height: 100%; height: 100%;
overflow: hidden;
`; `;
const WindowBar = lazy(() => const WindowBar = lazy(() =>

View file

@ -14,7 +14,6 @@ html {
position: absolute; position: absolute;
display: block; display: block;
width: 100%; width: 100%;
min-width: 640px;
height: 100%; height: 100%;
overflow-x: hidden; overflow-x: hidden;
overflow-y: hidden; overflow-y: hidden;