Skip to content

Commit 8823ffd

Browse files
authored
fix: add line breaks to mcp edit dialog (bytedance#313)
1 parent 4fe4315 commit 8823ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/app/settings/dialogs/add-mcp-server-dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export function AddMCPServerDialog({
138138

139139
<main>
140140
<Textarea
141-
className="h-[360px] sm:max-w-[510px]"
141+
className="h-[360px] sm:max-w-[510px] break-all"
142142
placeholder={
143143
'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}'
144144
}

0 commit comments

Comments
 (0)