From 21028927769f3ee5b5daa9908190917979131c3b Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Mon, 17 Jul 2023 11:57:25 +0200 Subject: [PATCH] Fix About dialog UI issues on Windows --- electron/main/about.js | 3 ++- public/about.html | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/electron/main/about.js b/electron/main/about.js index 695cb5d..83a11d4 100644 --- a/electron/main/about.js +++ b/electron/main/about.js @@ -9,12 +9,13 @@ export function openAboutWindow() { aboutWindow = new BrowserWindow({ parent: win, width: 400, - height: 300, + height: 320, resizable: false, minimizable: false, maximizable: false, fullscreen: false, fullscreenable: false, + autoHideMenuBar: true, //backgroundColor: nativeTheme.shouldUseDarkColors ? '#262B37' : '#FFFFFF', title: "About Heynote", show: false, diff --git a/public/about.html b/public/about.html index e06763a..56e3514 100644 --- a/public/about.html +++ b/public/about.html @@ -13,6 +13,7 @@ padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size: 11px; + overflow-y: hidden; } #content { padding: 12px;