team-genny / genny

0 stars 1 forks source link

Long lines in SchemaPreview output elements overflow their containers/window #29

Closed fergcb closed 4 months ago

fergcb commented 4 months ago

When an schema contains a long formula, or the example output contains a very long field, it overflows from the container, either causing the whole window to be horizontally scrollable, or simply cutting off the end of the text.

These output boxes should be scrollable so that if their content is too large, they can be scrolled horizontally to show the end of long content.

Additionally, they should have a maximum vertical size, after which they start being scrollable, to prevent the page becoming too long and the user having to scroll back and forth between the form fields and the example data.