-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown editor overflow at small size #173
Comments
@serendipity1004 May have style conflicts https://codesandbox.io/s/markdown-editor-for-react-173-6ttjv?file=/index.js |
@jaywcjlove yea I think you're right. I can't seem to find which style is conflicting tho. |
After a further investigation it actually was nothing to do with style conflict. I was having this issue in the chrome dev tools (I have no idea if it also happens in real mobile devices) and It seems that if you set the MDEditor width to certain value (explicit pixels or simple 100%) the issue gets resolved. If you don't, as you resize the screen using dev tools, the bottom textarea will overflow just as much as how much more space toolbar eats up. |
add width like below
|
it's a 425x759 size screen in chrome and editor content seems to overflow.
above is the simple settings I'm using.
The text was updated successfully, but these errors were encountered: