diff --git a/electron/main/index.ts b/electron/main/index.ts index f66193b..ec762f8 100644 --- a/electron/main/index.ts +++ b/electron/main/index.ts @@ -29,6 +29,7 @@ function createWindow(): void { }, frame: false, titleBarStyle: 'hidden', + transparent: true, }) // Linux taskbar icon diff --git a/src/styles/global.css b/src/styles/global.css index 32bfe67..0d2f6e4 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -7,13 +7,17 @@ box-sizing: border-box; } -html, body, #app { +html { height: 100%; width: 100%; - overflow: hidden; } body { + height: 100%; + width: 100%; + margin: 0; + padding: 0; + overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: var(--bg-primary); color: var(--text-primary); @@ -21,6 +25,11 @@ body { -moz-osx-font-smoothing: grayscale; } +#app { + height: 100%; + width: 100%; +} + ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }