Update minimum app dimensions
This commit is contained in:
parent
782c351ca6
commit
7430bba853
4 changed files with 4 additions and 4 deletions
|
@ -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'),
|
||||||
|
|
|
@ -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);
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -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(() =>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Reference in a new issue