cotes2020 / jekyll-theme-chirpy

A minimal, responsive, and feature-rich Jekyll theme for technical writing.
https://chirpy.cotes.page
MIT License
6.78k stars 5.48k forks source link

Contents bar on the right hand side doesn't scroll down #1841

Open linkarzu opened 1 week ago

linkarzu commented 1 week ago

Checklist

How did you create the site?

Generated from chirpy-starter

Describe the bug

I have this blogpost that has a lot of markdown headings, but as you can see on the image below, if I keep scrolling down on the document, the "Contents" section doesn't keep going down, you can see this behaviour on the video below.

Any help would be appreciated!

And by the way, lovely and wonderful theme, I really love it so much, thanks for all the hard work put into it.

https://sharing.linkarzu.com/TbsvzhJpbz0nPQ05Hsg9

Steps To Reproduce

This can be seen in the video

https://sharing.linkarzu.com/TbsvzhJpbz0nPQ05Hsg9

Expected Behavior

The "Contents" section should keep scrolling down as markdown headings scroll down

Environment

❯ ruby -v ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [arm64-darwin23]

❯ bundle exec jekyll -v jekyll 4.3.3

❯ bundle info jekyll-theme-chirpy

Anything else?

No response

cotes2020 commented 1 week ago

Thank you for reaching out, someone raised this issue years ago, so it seems necessary to improve the table of contents.


Update: It should be this one:

linkarzu commented 1 week ago

It would be much appreciated, again, thank you very much!