fix: add line breaks to mcp edit dialog (#313)

This commit is contained in:
Luludle 2025-06-17 08:31:35 +08:00 committed by GitHub
parent f924289c4c
commit 8e4de0a498
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ export function AddMCPServerDialog({
<main>
<Textarea
className="h-[360px] sm:max-w-[510px]"
className="h-[360px] sm:max-w-[510px] break-all"
placeholder={
'Example:\n\n{\n "mcpServers": {\n "My Server": {\n "command": "python",\n "args": [\n "-m", "mcp_server"\n ],\n "env": {\n "API_KEY": "YOUR_API_KEY"\n }\n }\n }\n}'
}