Skip to content
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

Issue with width of code block when the code contains long lines #11

Closed
grigorigoldman opened this issue Aug 3, 2019 · 2 comments
Closed

Comments

@grigorigoldman
Copy link

When adding a code block to a blog post with very long lines because the width of the div is set to 100%, it causes the content to go off the page.

Instead, the code block width should be the same as the other content on the page. The div already has overflow set to auto, so it will be horizontally scrollable, I believe.

@chrisrhymes
Copy link
Owner

I've set the width of the container column now so this should be prevented and the code block should now scroll as expected.

#12

Please use the latest master branch or v0.5.5 of the gem for these changes.

Let me know if this resolves your issue or send me a link so I can take a look in more detail.

@grigorigoldman
Copy link
Author

Yes, this solves the issue. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants