[OT] TableofContents (toc) is not sticky

Hi All!
I’ve been using hugo with a theme (although the issue is not theme related).
I’ve implemented a toc using this guide:

And here is a sample live blogpost (without the toc):

When it renders the toc it shows to the left of the content in the right location, the issue starts when I scroll, it stays static and not as a “spy scroll”. In addition it seems to affect my blog’s text width from around 80% of the page to 50%.

Any ideas how to solve those issues?

Thanks!!
Ido

That problem is related to CSS. You might have more luck asking in channels dealing with that (and providing more relevant information). Also, fiddling around with the generated HTML+CSS in your favorite web browser’s developer tools might provide some insights.