diff --git a/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatHeader.tsx b/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatHeader.tsx index cc7643ecb..e5bc2a3da 100644 --- a/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatHeader.tsx +++ b/apps/desktop/layer/renderer/src/modules/ai-chat/components/layouts/ChatHeader.tsx @@ -1,5 +1,5 @@ import { ActionButton } from "@follow/components/ui/button/index.js" -import clsx from "clsx" +import { cn } from "@follow/utils" import type { ReactNode } from "react" import { useCallback } from "react" @@ -44,33 +44,30 @@ const ChatHeaderLayout = ({ const isFloating = useAIChatPanelStyle() === AIChatPanelStyle.Floating return ( -
- {isFloating && ( -
- )} +
+
+ {isFloating && ( +
+ )} -
-
- -
+
+
+ +
- {/* Right side - Actions */} -
- {renderActions({ - onNewChatClick: handleNewChatClick, - currentTitle, - onSaveTitle: handleTitleSave, - })} + {/* Right side - Actions */} +
+ {renderActions({ + onNewChatClick: handleNewChatClick, + currentTitle, + onSaveTitle: handleTitleSave, + })} +
diff --git a/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-header/AIEntryHeader.tsx b/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-header/AIEntryHeader.tsx index a40b000ee..8ef302a48 100644 --- a/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-header/AIEntryHeader.tsx +++ b/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-header/AIEntryHeader.tsx @@ -11,7 +11,7 @@ function EntryHeaderImpl({ entryId, className, compact }: EntryHeaderProps) { return (
diff --git a/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-header/internal/EntryHeaderBreadcrumb.tsx b/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-header/internal/EntryHeaderBreadcrumb.tsx index 48d90bdac..88e7c1634 100644 --- a/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-header/internal/EntryHeaderBreadcrumb.tsx +++ b/apps/desktop/layer/renderer/src/modules/entry-content/components/entry-header/internal/EntryHeaderBreadcrumb.tsx @@ -233,7 +233,7 @@ export function EntryHeaderBreadcrumb() {