diff --git a/CHANGELOG.md b/CHANGELOG.md index 453f4af4b..48cc84fdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ Only write entries that are worth mentioning to users. ## Unreleased +- Web: Refine UI details including rounded corners, spacing, and layout adjustments across input group, slash command menu, and session sidebar + ## 1.12.0 (2026-02-11) - Web: Add subagent activity rendering to display subagent steps (thinking, tool calls, text) inside Task tool messages diff --git a/docs/en/release-notes/changelog.md b/docs/en/release-notes/changelog.md index 9b27f34e8..0860fd0ee 100644 --- a/docs/en/release-notes/changelog.md +++ b/docs/en/release-notes/changelog.md @@ -4,6 +4,8 @@ This page documents the changes in each Kimi Code CLI release. ## Unreleased +- Web: Refine UI details including rounded corners, spacing, and layout adjustments across input group, slash command menu, and session sidebar + ## 1.12.0 (2026-02-11) - Web: Add subagent activity rendering to display subagent steps (thinking, tool calls, text) inside Task tool messages diff --git a/docs/zh/release-notes/changelog.md b/docs/zh/release-notes/changelog.md index 5f4ef685d..7a882caf4 100644 --- a/docs/zh/release-notes/changelog.md +++ b/docs/zh/release-notes/changelog.md @@ -4,6 +4,8 @@ ## 未发布 +- Web:优化 UI 细节,包括输入框、斜杠命令菜单和会话侧边栏的圆角、间距和布局调整 + ## 1.12.0 (2026-02-11) - Web:添加子 Agent 活动渲染,在 Task 工具消息中展示子 Agent 步骤(思考、工具调用、文本) diff --git a/web/src/App.tsx b/web/src/App.tsx index 26db2bab7..9400928ee 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -360,7 +360,7 @@ function App() { return ( -
+
{isDesktop ? ( -
+
diff --git a/web/src/components/ai-elements/prompt-input.tsx b/web/src/components/ai-elements/prompt-input.tsx index 65497b58b..68f1afe77 100644 --- a/web/src/components/ai-elements/prompt-input.tsx +++ b/web/src/components/ai-elements/prompt-input.tsx @@ -1186,7 +1186,7 @@ export const PromptInputSubmit = ({ return ( ) { data-slot="input-group" role="group" className={cn( - "group/input-group border-input dark:bg-input/30 relative flex w-full items-center rounded-md border shadow-xs transition-[color,box-shadow] outline-none", + "group/input-group border-input dark:bg-input/30 relative flex w-full items-center rounded-3xl border shadow-xs transition-[color,box-shadow] outline-none", "h-9 min-w-0 has-[>textarea]:h-auto", // Variants based on alignment. @@ -46,9 +46,9 @@ const inputGroupAddonVariants = cva( "inline-end": "order-last pr-3 has-[>button]:mr-[-0.45rem] has-[>kbd]:mr-[-0.35rem]", "block-start": - "order-first w-full justify-start px-3 pt-3 [.border-b]:pb-3 group-has-[>input]/input-group:pt-2.5", + "order-first w-full justify-start px-2 pt-2 [.border-b]:pb-3 group-has-[>input]/input-group:pt-2.5", "block-end": - "order-last w-full justify-start px-3 pb-3 [.border-t]:pt-3 group-has-[>input]/input-group:pb-2.5", + "order-last w-full justify-start px-2 pb-2 [.border-t]:pt-3 group-has-[>input]/input-group:pb-2.5", }, }, defaultVariants: { diff --git a/web/src/features/chat/chat.tsx b/web/src/features/chat/chat.tsx index ab2362883..7d43e2c59 100644 --- a/web/src/features/chat/chat.tsx +++ b/web/src/features/chat/chat.tsx @@ -245,7 +245,7 @@ export const ChatWorkspace = memo(function ChatWorkspaceComponent({ /> {currentSession && ( -
+
{isExpanded ? ( @@ -292,7 +292,7 @@ export const ChatPromptComposer = memo(function ChatPromptComposerComponent({
- + diff --git a/web/src/features/chat/global-config-controls.tsx b/web/src/features/chat/global-config-controls.tsx index 590287190..c2f9dc2a5 100644 --- a/web/src/features/chat/global-config-controls.tsx +++ b/web/src/features/chat/global-config-controls.tsx @@ -200,8 +200,8 @@ export function GlobalConfigControls({