I hope you weren't planning to do something similar. Yesterday, I was busy looking at chroma.js' documentations, and I got mildly annoyed at needing to scroll back to the very top to navigate using the table of contents lol.
So I made the table of contents position fixed, and I added a small — horizontal scroll indicator. I considered chevrons to indicate scrollability, but I figured the scroll bar itself was enough.
Let me know if you have any suggestions. My immediate idea was to also rainbow-fy the scroll indicator color (currently, it's a static pink), and maybe add some other indications to highlight the user's ability to scroll the ToC.
Hey there!
I hope you weren't planning to do something similar. Yesterday, I was busy looking at
chroma.js
' documentations, and I got mildly annoyed at needing to scroll back to the very top to navigate using the table of contents lol.So I made the table of contents position fixed, and I added a small — horizontal scroll indicator. I considered chevrons to indicate scrollability, but I figured the scroll bar itself was enough.
Let me know if you have any suggestions. My immediate idea was to also rainbow-fy the scroll indicator color (currently, it's a static pink), and maybe add some other indications to highlight the user's ability to scroll the ToC.
You can see my changes live here: https://schmannie.github.io/chroma.js/
Let me know what you think, and if you'd like to use these changes at all!