neovim / doc

Generated documentation and reports
neovim.github.io/doc/
Apache License 2.0
31 stars 13 forks source link

Responsive design #52

Closed sebastianv89 closed 9 months ago

sebastianv89 commented 10 months ago

The website becomes illegible in parts when the screen is too narrow.

The following screenshot of https://neovim.io/doc/user/ demonstrates this.

Screen Shot 2023-11-18 at 13 01 31

As you can see the right-hand side menu intersects with the main text. Also the anchor label (standard-plugin-list in the screenshot) intersects with the text.

(I typically split my 1920 pixel wide monitor in two, which is why this 960px wide screenshot is my default view.)

justinmk commented 9 months ago

The old vim help is hardwrapped. Nvim-owned help pages are softwrapped and have "flow" layout, see https://neovim.io/doc/user/lua.html for example.

I am incrementally migrating more and more pages to "flow" layout, but meanwhile any help with the CSS is welcome. (But please check the results carefully; we've had several half-baked attempts already.)

Meanwhile this is tracked in https://github.com/neovim/neovim.github.io/issues/288