Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(macos): hide geometric corner accent where traffic lights are

Louis Beaumontd5e9065a2057
diff --git a/screenpipe-app-tauri/components/global-chat.tsx b/screenpipe-app-tauri/components/global-chat.tsx
index b77f50253..1b3c1f20f 100644
--- a/screenpipe-app-tauri/components/global-chat.tsx
+++ b/screenpipe-app-tauri/components/global-chat.tsx
@@ -1449,11 +1449,10 @@ export function GlobalChat() {
"relative flex items-center gap-3 px-4 py-3 pr-12 border-b border-border/50 bg-gradient-to-r from-background to-muted/30",
isMac && "pl-[72px]"
)}>
- {/* Geometric corner accent */}
- <div className={cn(
- "absolute top-0 left-0 w-8 h-8 border-l-2 border-t-2 border-foreground/10 rounded-tl-lg",
- isMac && "left-[60px]"
- )} />
+ {/* Geometric corner accent - hidden on macOS where traffic lights are */}
+ {!isMac && (
+ <div className="absolute top-0 left-0 w-8 h-8 border-l-2 border-t-2 border-foreground/10 rounded-tl-lg" />
+ )}
<div className="relative z-10 p-1.5 rounded-lg bg-foreground/5 border border-border/50">
<PipeAIIcon size={18} animated={false} className="text-foreground" />
diff --git a/screenpipe-app-tauri/components/standalone-chat.tsx b/screenpipe-app-tauri/components/standalone-chat.tsx
index b0cf57220..8d4b3d0cd 100644
--- a/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -737,10 +737,10 @@ export function StandaloneChat() {
}
}}
>
- <div className={cn(
- "absolute top-0 left-0 w-8 h-8 border-l-2 border-t-2 border-foreground/10 rounded-tl-lg",
- isMac && "left-[60px]"
- )} />
+ {/* Geometric corner accent - hidden on macOS where traffic lights are */}
+ {!isMac && (
+ <div className="absolute top-0 left-0 w-8 h-8 border-l-2 border-t-2 border-foreground/10 rounded-tl-lg" />
+ )}
<div className="relative z-10 p-1.5 rounded-lg bg-foreground/5 border border-border/50">
<PipeAIIcon size={18} animated={false} className="text-foreground" />
</div>