denoland / dotland

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

Center the current file in the sidebar by default #2189

Closed orta closed 2 years ago

orta commented 2 years ago

I loaded up https://deno.land/manual/examples/read_write_files via search and had no frame of reference for where I was in the docs.

The request would make:

image

Instead be:

image

crowlKats commented 2 years ago

to be clear, what you are asking for is that we scroll the table of contents so that the current viewed entry is visible in it?

orta commented 2 years ago

Yes - top could also work