Can anyone explain why min-width: 0 fixes the issue where the editor doesn't resize properly? https://github.com/microsoft/monaco-editor/issues/3393 #4481
Unanswered
jordyvandomselaar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was running into this issue: #3393, for which @medihack found the solution; just add a
min-width:0
to the editor's parent element. I just have no idea why this works. Can anyone smarter than me explain?Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions