Yes, the second part with the solution is worse.
To me the problem with the wide tables overflowing is that it breaks the design of the page, with everything else in the page properly contained and aligned.
But I guess there’s no easy solution for this and the best fix for now is to avoid having these wide tables in the first place.