Fix About dialog UI issues on Windows

This commit is contained in:
Jonatan Heyman 2023-07-17 11:57:25 +02:00
parent ba89b1f3ca
commit 2102892776
2 changed files with 3 additions and 1 deletions

View File

@ -9,12 +9,13 @@ export function openAboutWindow() {
aboutWindow = new BrowserWindow({ aboutWindow = new BrowserWindow({
parent: win, parent: win,
width: 400, width: 400,
height: 300, height: 320,
resizable: false, resizable: false,
minimizable: false, minimizable: false,
maximizable: false, maximizable: false,
fullscreen: false, fullscreen: false,
fullscreenable: false, fullscreenable: false,
autoHideMenuBar: true,
//backgroundColor: nativeTheme.shouldUseDarkColors ? '#262B37' : '#FFFFFF', //backgroundColor: nativeTheme.shouldUseDarkColors ? '#262B37' : '#FFFFFF',
title: "About Heynote", title: "About Heynote",
show: false, show: false,

View File

@ -13,6 +13,7 @@
padding: 0; padding: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 11px; font-size: 11px;
overflow-y: hidden;
} }
#content { #content {
padding: 12px; padding: 12px;