Board Thread:Support Requests - Getting Technical/@comment-28082950-20170420011057

I seem to be having a slight problem with ToCs on Divinipedia. While the width of the ToC should stretch to fit the size of the text within, I constantly see the ToC's width at a fixed size, making it appear unnecessarily thin and long. (Screencap example, page example)

This occurs primarily on Firefox, and persists on Chrome if I'm logged out (I recall this happening when logged in as well, but I can't replicate that result now). I've checked other wikis with custom ToCs too, but they don't seem to be having the same issue.

The ToC works just fine when I remove the code, indicating that it must be the code I implemented. However, when I transferred all of Divinipedia's code to my test wiki, the issue wasn't present.

Could someone please view the page example above to see if the ToC displays the same way as it does in the screencap provided?* And does anyone have any suggestions for resolving this issue?

* Note: the problem doesn't always occur, so you may have to refresh the page. 