Replies: 1 comment 2 replies
-
The theme is coming from the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The default theme of redoc has a lot of spacing built in, but when I include a schema import with the
example
enabled, there's too little horizontal space, which results in a lot of scrolling in my example.I was hoping that I could pass in some additional
props
into the React component, but it seems to have no effect.I'm using the following line as a clue that this is possible:
redocusaurus/packages/docusaurus-theme-redoc/src/theme/ApiSchema/ApiSchema.tsx
Line 42 in c5e55d5
Along with this from redocly, which seems to correlate:
https://github.com/Redocly/redoc/blob/a160498089a44ebf540745b55fbaf18a54eb9d88/src/components/SchemaDefinition/SchemaDefinition.tsx?ts=2#L86
I am probably way off, let me know if you have any ideas.
Beta Was this translation helpful? Give feedback.
All reactions