denoland / dotland

[Archived] deno.land website
https://deno.land
MIT License
957 stars 626 forks source link

Sticky sidebar on desktop #2525

Closed ydcjeff closed 1 year ago

ydcjeff commented 2 years ago

I would like to give some UX feedback on the new design of module docs. Currently the sidebar showing module name, module source, docs, GitHub repo, versions, etc. gets scrolled along with the main content on the right. For the very long READMEs and module docs, it is very frustrating to scroll to the top to switch between source code view and docs view, to get the GitHub repo link, choose versions, etc.

It would nice if the left sidebar is sticky.

Visual preview (std README):

Screenshot 2022-10-06 at 18 24 15

crowlKats commented 2 years ago

Making it sticky wont work, as often the sidepanel will be taller than the screen (in manual, API, and various modules), so would be against this.

crowlKats commented 1 year ago

Closing as not really viable for aforementioned reasons