fix(ui): json fields can now take a maxHeight in admin props and there's a mininum height of 3 lines (#9018)
JSON fields are now 3 lines minimum in height like so:  This helps fix an issue where long content is wrapped:  Previously it would show like this: 
This commit is contained in:
@@ -11,6 +11,9 @@ const JSON: CollectionConfig = {
|
||||
{
|
||||
name: 'json',
|
||||
type: 'json',
|
||||
admin: {
|
||||
maxHeight: 542,
|
||||
},
|
||||
jsonSchema: {
|
||||
fileMatch: ['a://b/foo.json'],
|
||||
schema: {
|
||||
|
||||
Reference in New Issue
Block a user