Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(desktop): align Windows main window controls (#2945)

dingyanjic18c7580a419
diff --git a/apps/desktop/src/renderer/components/layout/MainLayout.tsx b/apps/desktop/src/renderer/components/layout/MainLayout.tsx
index 3974594b31..0f022ce093 100644
--- a/apps/desktop/src/renderer/components/layout/MainLayout.tsx
+++ b/apps/desktop/src/renderer/components/layout/MainLayout.tsx
@@ -1429,7 +1429,7 @@ export function MainLayout() {
右上角(系统按钮下一行),与截图中的原位置一致。 */}
{!isMac && (
<div
- className="absolute right-0 top-0 z-50 flex h-[46px] items-center"
+ className="absolute right-0 top-0 z-50 flex h-[46px] items-center pr-2"
style={{ WebkitAppRegion: 'no-drag' } as React.CSSProperties}
>
<WindowControls />