I know that most use overflow: auto in this scenario. However, my table width slightly exceeds the content within it (by design, various sections on the page have the same width).
Is there another way I can conditionally hide/show a scrollbar, dependent on the browser width in pixels, perhaps?
My issue is I have a scrollbar popping up too early. Look at this for example:

This is the end of the table, but the scrollbar unnecessarily pops up. This is mostly because of that extra whitespace outside the word "Disconnect". It is calculating the overflow property based on that entire cell. Ideally, I'd like to be able to hide the scrollbar until absolutely needed (e.g. the page becomes sufficiently small such that disconnect starts to get hidden).
If not using overflow: auto, do I have any other options here?