sandpack
sandpack copied to clipboard
Sandpack editor layout broken when using monaco
Bug report
Packages affected
- [ ] sandpack-client
- [x] sandpack-react
Description of the problem
I'm new to sandpack, and I was trying the Monaco Editor integration by following the official example at https://sandpack.codesandbox.io/docs/guides/integrate-monaco-editor.
I got it working, but the editor's layout seems broken.
I have a lot of empty space to the left of the code, and the actual code has a lot of horizontal scroll.
I tried:
options.glyphMargin = false
but doesn't seem to fix it.
I apologize if this issue is not actually related to sandpack, and maybe it's related to Monaco... didn't know where to open it.