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

Documentation scrolls horz. on small media #267

Open
pritidesai opened this issue Aug 2, 2018 · 2 comments
Open

Documentation scrolls horz. on small media #267

pritidesai opened this issue Aug 2, 2018 · 2 comments

Comments

@pritidesai
Copy link
Member

There should be a better way to wrap the Content text, but allow for scrolling only on the code samples. That is, you should not need to scroll on a mobile phone to read the majority of the developer/operator/contrib. documentation.

@mrutkows
Copy link
Contributor

mrutkows commented Aug 20, 2018

After examining and playing with this, it will be very hard to "scroll" as the syntax highlighting code adds several HTML tags that we do not easily control. Specifically, it appears that using any "pre" (i.e., <pre>) tag seems to void any layout... that is, the width of any <pre> container is respected regardless of any scroll options selected.

@mrutkows
Copy link
Contributor

The solution MIGHT involve creating our own "pre" tag to replace/override the built in HTML one where we can control the layout. This would be a lot of work for little benefit. We COULD close this issue, but perhaps some eager/smart person in the future may want to take up this challenge.

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

No branches or pull requests

2 participants