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

css: request to add overflow-x: auto to .old-help-para #315

Closed
vagreargnatry opened this issue Jan 17, 2023 · 4 comments
Closed

css: request to add overflow-x: auto to .old-help-para #315

vagreargnatry opened this issue Jan 17, 2023 · 4 comments

Comments

@vagreargnatry
Copy link

Hello, could you add overflow-x: auto to .old-help-para?
This is the picture's doc link: https://neovim.io/doc/user/lsp.html#lsp-buf
Before I add overflow-x: auto to .old-help-para in chrome console, there has horizontal scroll bar and text overflow.
May be this line (sorry, I'm not sure): https://github.com/neovim/neovim/blob/master/scripts/gen_help_html.lua#L911

before:
before
after:
after

@justinmk
Copy link
Member

pr welcome that implements the idea in neovim/neovim#21644 (comment)

@vagreargnatry
Copy link
Author

Could you accpet change white-space: pre to white-space: pre-wrap in .old-help-para and add word-break: break-all to HTML a tag? After reading neovim/neovim#21644 I think this may have a good effect on my laptop.

result

@teto
Copy link
Member

teto commented Jan 18, 2023

for this kind of simple change, better submit a PR as we can test on our own machines and if ok then the improvement is a click away.

@wookayin
Copy link
Member

wookayin commented May 16, 2024

Partially fixed by neovim/neovim#28678 and neovim/neovim#28755, although being a different solution (wrap instead of scrollbar) against overlap.

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

4 participants