diff --git a/src/main/index.ts b/src/main/index.ts index 6f79b60ec..d2302a4f1 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -274,7 +274,7 @@ async function createWindow(first = true): Promise { frame: false, height: 900, icon: isWindows() ? getAssetPath('icons/icon.ico') : getAssetPath('icons/icon.png'), - minHeight: 640, + minHeight: 120, minWidth: 480, show: false, webPreferences: { diff --git a/src/renderer/layouts/mobile-layout/mobile-layout.module.css b/src/renderer/layouts/mobile-layout/mobile-layout.module.css index b29e9bdc3..66388b5a4 100644 --- a/src/renderer/layouts/mobile-layout/mobile-layout.module.css +++ b/src/renderer/layouts/mobile-layout/mobile-layout.module.css @@ -29,6 +29,12 @@ backdrop-filter: blur(10px); } +@media (height < 192px) { + .drawer-button { + display: none; + } +} + .main-content { position: relative; grid-area: main-content;