event-catalog / eventcatalog

An open source documentation tool to bring discoverability to your event-driven architectures
https://eventcatalog.dev
MIT License
1.71k stars 145 forks source link

v2 schema rendering not scrollable vertically #548

Closed wliew99 closed 1 month ago

wliew99 commented 3 months ago

Summary

Have a relatively large schema.json in JSON schema format and using does not render the vertical scrolling but render the whole schema.json in the component. The horizontal scrolling show up but not the vertical one .

Expected Behavior

Limit the real estate (ability to set size?) of schema.json being shown on index.md by having both vertical and horizontal scrolling.

Actual Behavior

The whole schema.json got render on index.md

otbe commented 3 months ago

I really liked the old SchemaViewer component :)

boyney123 commented 3 months ago

Yeah I got some feedback also from others about SchemaViewer, so I'm going to add SchemaViewer back in!

boyney123 commented 1 month ago

SchemaViewer back in, closing now :)