Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
fix(in-app-menu): resize
Browse files Browse the repository at this point in the history
- Window controls: 36px -> 32px
- Font size: 14px -> 12px
  • Loading branch information
JellyBrick committed Dec 1, 2023
1 parent ce75573 commit 324a539
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ async function createMainWindow() {
const defaultTitleBarOverlayOptions: Electron.TitleBarOverlayOptions = {
color: '#00000000',
symbolColor: '#ffffff',
height: 36,
height: 32,
};

const win = new BrowserWindow({
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/in-app-menu/titlebar.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:root {
--titlebar-background-color: #030303;
--menu-bar-height: 36px;
--menu-bar-height: 32px;
}

title-bar {
Expand All @@ -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);
Expand Down

0 comments on commit 324a539

Please sign in to comment.