-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
Zoom-in moves code on left side out of the window #29
Comments
I am also noticing this! Is there any solution? |
Hi! for my decks I try to keep the code in less than 50 columns (with prettier I'm planning to make this more responsive to the viewport and code width (#2), but having very long lines will still be a problem. |
Hi. I was also having this problem when I was making code-surfer slides. I was able to find a temp fix. If you pass it a custom layout, you can change the
And changing the font-size, depending on how big my code was. See screenshots below. I don't know if that'll solve OP's problem or is a permanent fix. Maybe |
Sadly, that prettier option doesn't work well when using jest inlineSnapshots |
Fix by @snesjhon works! maybe fluid |
Having an issue with a long line being added (96 cols). Ideally it would zoom out, but it seems like adding new wider lines doesn't make it zoom out, and the width is fixed based on the first step of code. |
Should be fixed in v3 |
Hi thanks for your amazing work.
When zooming in from a big code snippet, whole text is moved outside on the left side. See the screenshots.
I used your 'sample.mdx' deck:
code snipppet can be found here: https://etherscan.io/address/0xf230b790e05390fc8295f4d3f60332c93bed42e2#code
The text was updated successfully, but these errors were encountered: