fix: font mono default from mcp json ediitor
This commit is contained in:
parent
706dad2687
commit
b2632a005c
@ -421,13 +421,12 @@ export default function AddEditMCPServer({
|
||||
}}
|
||||
onPaste={() => setError(null)}
|
||||
style={{
|
||||
fontFamily: 'ui-monospace',
|
||||
backgroundColor: 'transparent',
|
||||
wordBreak: 'break-all',
|
||||
overflowWrap: 'anywhere',
|
||||
whiteSpace: 'pre-wrap',
|
||||
}}
|
||||
className="w-full !text-sm min-h-[300px]"
|
||||
className="w-full !text-sm min-h-[300px] !font-mono"
|
||||
/>
|
||||
</div>
|
||||
{error && <div className="text-destructive text-sm">{error}</div>}
|
||||
|
||||
@ -93,13 +93,12 @@ export default function EditJsonMCPserver({
|
||||
onChange={(e) => setJsonContent(e.target.value)}
|
||||
onPaste={handlePaste}
|
||||
style={{
|
||||
fontFamily: 'ui-monospace',
|
||||
backgroundColor: 'transparent',
|
||||
wordBreak: 'break-all',
|
||||
overflowWrap: 'anywhere',
|
||||
whiteSpace: 'pre-wrap',
|
||||
}}
|
||||
className="w-full !text-sm overflow-hidden break-all"
|
||||
className="w-full !text-sm overflow-hidden !break-all font-mono"
|
||||
/>
|
||||
</div>
|
||||
{error && <div className="text-destructive text-sm">{error}</div>}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user