From 324a539b89432a23d8e78df8260578f1aebf4ce3 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Fri, 1 Dec 2023 23:04:49 +0900 Subject: [PATCH] fix(in-app-menu): resize - Window controls: 36px -> 32px - Font size: 14px -> 12px --- src/index.ts | 2 +- src/plugins/in-app-menu/titlebar.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 879b3ef9a6..17ad8f0e82 100644 --- a/src/index.ts +++ b/src/index.ts @@ -262,7 +262,7 @@ async function createMainWindow() { const defaultTitleBarOverlayOptions: Electron.TitleBarOverlayOptions = { color: '#00000000', symbolColor: '#ffffff', - height: 36, + height: 32, }; const win = new BrowserWindow({ diff --git a/src/plugins/in-app-menu/titlebar.css b/src/plugins/in-app-menu/titlebar.css index 1772397c35..ee966ef2cd 100644 --- a/src/plugins/in-app-menu/titlebar.css +++ b/src/plugins/in-app-menu/titlebar.css @@ -1,6 +1,6 @@ :root { --titlebar-background-color: #030303; - --menu-bar-height: 36px; + --menu-bar-height: 32px; } title-bar { @@ -21,7 +21,7 @@ title-bar { gap: 4px; color: #f1f1f1; - font-size: 14px; + font-size: 12px; padding: 4px 12px; padding-left: var(--offset-left, 12px); background-color: var(--titlebar-background-color, #030303);