JoeyDeVries / LearnOpenGL

Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
https://learnopengl.com
Other
10.86k stars 2.78k forks source link

[Web] Consider a "hide sidebar" button #403

Open cjdb opened 1 month ago

cjdb commented 1 month ago

I split-screen code and tutorials, and usually need to zoom text so I can read it. learnopengl.com's formatting currently means that the sidebar occupies a large amount of the default screen real estate. Scrolling horizontally is a decent enough workaround until I hover over an API. Would it be too much trouble to integrate a "hide sidebar" feature for improved accessibility, please?

A screenshot of learnopengl.com with the sidebar on one side, and the text cropped on the other.

A screenshot of learnopengl.com with the main text completely readable, and a hovering context screen cropped to the left.

LuckyIntel commented 1 month ago

I think you can click on the navbar then right click, select inspect and just delete it as a temporary fix, until the owner really integrates it.