Changing JSON field height (on ng-admin)

359 Views Asked by At

I have simple web form to collect data from a user. In my particular case i'm making use of the JSON field to collect a custom data structure.

Is it possible to change the height/size of a JSON field?

1

There are 1 best solutions below

0
On

Add the following CSS rule to your stylesheet:

.CodeMirror {
  height: auto;
}

Now the JSON edition field widget will match the height of the serialized JSON!