fix: font mono default from mcp json ediitor

This commit is contained in:
Faisal Amir 2025-10-07 22:10:53 +07:00
parent 706dad2687
commit b2632a005c
2 changed files with 2 additions and 4 deletions

View File

@ -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>}

View File

@ -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>}