Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

fix: keep ChatGPT, Grok, Gemini and DeepSeek clear of the macOS traffic lights

youxi79865d0fc9ff33e
diff --git a/src-tauri/src/inject/style.js b/src-tauri/src/inject/style.js
index 2bb4de6e..c6b4e087 100644
--- a/src-tauri/src/inject/style.js
+++ b/src-tauri/src/inject/style.js
@@ -32,6 +32,14 @@ window.addEventListener("DOMContentLoaded", (_event) => {
// `content` applies on every platform; `immersive` only under the macOS
// hidden title bar, where the traffic lights overlap the page.
const siteStyles = [
+ {
+ hosts: ["chatgpt.com", "chat.openai.com"],
+ immersive: `
+ #app-shell-sidebar > div {
+ padding-top: 24px;
+ }
+ `,
+ },
{
hosts: ["x.com", "twitter.com"],
content: `
@@ -194,6 +202,10 @@ window.addEventListener("DOMContentLoaded", (_event) => {
.flex.w-full.h-full.overflow-hidden{
padding-top:20px;
}
+
+ #grok-app-root [data-sidebar="sidebar"] {
+ padding-top: 24px;
+ }
`,
},
{
@@ -202,6 +214,18 @@ window.addEventListener("DOMContentLoaded", (_event) => {
body:not(.rtl) ._5a20a69 {
margin-left: 84px;
}
+
+ .b8812f16 {
+ padding-top: 16px;
+ }
+ `,
+ },
+ {
+ hosts: ["gemini.google.com"],
+ immersive: `
+ .side-nav-menu-button {
+ margin-left: 76px !important;
+ }
`,
},
{