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

Remove text wrapping #56

Open
nickian opened this issue Oct 27, 2022 · 1 comment
Open

Remove text wrapping #56

nickian opened this issue Oct 27, 2022 · 1 comment

Comments

@nickian
Copy link

nickian commented Oct 27, 2022

Is there a way to disable text wrapping and have horizontal scrolling for longer lines of code?

I tried adding this to a CSS snippet. The font size worked, but not the overflow:

pre {
	font-size: 10px;
	overflow-x: scroll !important;
}
@nickian
Copy link
Author

nickian commented Oct 27, 2022

I should clarify, this is on mobile (iOS). I do get a horizontal scroll on desktop.

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

1 participant