Merge pull request #119 from modelcontextprotocol/ashwin/font

feat: use monospace font for all input fields in sidebar
This commit is contained in:
David Soria Parra 2024-12-20 10:56:05 +00:00 • committed by GitHub
commit 1abb7ca59c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,6 +86,7 @@ const Sidebar = ({
placeholder="Command" placeholder="Command"
value={command} value={command}
onChange={(e) => setCommand(e.target.value)} onChange={(e) => setCommand(e.target.value)}
className="font-mono"
/> />
</div> </div>
<div className="space-y-2"> <div className="space-y-2">
@ -94,6 +95,7 @@ const Sidebar = ({
placeholder="Arguments (space-separated)" placeholder="Arguments (space-separated)"
value={args} value={args}
onChange={(e) => setArgs(e.target.value)} onChange={(e) => setArgs(e.target.value)}
className="font-mono"
/> />
</div> </div>
</> </>
@ -104,6 +106,7 @@ const Sidebar = ({
placeholder="URL" placeholder="URL"
value={sseUrl} value={sseUrl}
onChange={(e) => setSseUrl(e.target.value)} onChange={(e) => setSseUrl(e.target.value)}
className="font-mono"
/> />
</div> </div>
)} )}
@ -135,6 +138,7 @@ const Sidebar = ({
newEnv[e.target.value] = value; newEnv[e.target.value] = value;
setEnv(newEnv); setEnv(newEnv);
}} }}
className="font-mono"
/> />
<Input <Input
placeholder="Value" placeholder="Value"
@ -144,6 +148,7 @@ const Sidebar = ({
newEnv[key] = e.target.value; newEnv[key] = e.target.value;
setEnv(newEnv); setEnv(newEnv);
}} }}
className="font-mono"
/> />
</div> </div>
<Button <Button