diff --git a/web/src/components/layout/workspace-command-palette.tsx b/web/src/components/layout/workspace-command-palette.tsx index ff8f4c0bf..8eaa02daa 100644 --- a/web/src/components/layout/workspace-command-palette.tsx +++ b/web/src/components/layout/workspace-command-palette.tsx @@ -91,29 +91,31 @@ export function WorkspaceCommandPalette({ open, onClose }: { open: boolean; onCl
-
- - setQuery(event.target.value)} - className="flex-1 bg-transparent py-4 text-[var(--fs-body)] outline-none placeholder:text-foreground/45" - placeholder="搜索页面或操作…" - /> - - ESC - - +
+
+ + setQuery(event.target.value)} + className="min-w-0 flex-1 bg-transparent text-[var(--fs-body)] outline-none placeholder:text-foreground/45" + placeholder="搜索页面或操作…" + /> + + ⌘K + + +