hi @Support-Luis @Support-Pedro and Finsweet lovers
Some of these articles are very long. The TOC works via the Finsweet TOC. attribute and works well.
Problem. Some of the articles are very long, and this enlarges the list of H2s in the summary, so the whole sidebar isn’t visible on the screen.
I have to make sure that the sidebar is visible. It’s ok if I add a max height of 80VH. But the TOC would have to scroll automatically. And then … impossible…
I tried using chatgpt to add custom code, but it breaks the design of my headings + the automatic scrolling doesn’t work.
Are there anyone who know Javascript well to help me?
Live exemple who doesnt-workd at all