pybricks / support

Pybricks support and general discussion
MIT License
109 stars 6 forks source link

[Doc] Suggest wider display area for samples #908

Open davecparker opened 1 year ago

davecparker commented 1 year ago

In the Projects (Samples and Tutorials) pages, the display area is quite narrow on desktop, and in particular, the code samples only display to column 72, leading to cut-off lines. To complicate this, the horizontal scrollbar is not always usable (#907).

Interesting, with further experimentation, I see that the display area and scale changes with window width, and for some narrower window widths is actually wider, but strangely for wide/normal windows it is narrow (see pic attached)

screen

dlech commented 1 year ago

As I mentioned in https://github.com/pybricks/support/issues/907#issuecomment-1377525018, we had this discussion when we started the site and the resolution was to wrap code at 70 lines so that it doesn't require horizontal scrolling rather than making it wider.