Swagger CSS not included in OpenApiComponent styles #447
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
The OpenApiComponent renders the react-swagger component without any styling.
Root Cause
I suspect the root cause is the fact that esbuild is told to exclude node_modules when bundling the open API component
https://github.com/jpmorganchase/mosaic/blob/main/scripts/bundle.js#L36
The
package.json
file also mentions adist/index.css
file which is incorrect. Should bedist/styles.css
.Expected Result
Adding the following CSS import to
_app.tsx
will apply swagger stylingWorkaround
Add the following CSS import to
_app.tsx
The text was updated successfully, but these errors were encountered: