Obviously one party having a veto-proof majority while the other party is in the White House is never gonna happen. Can only happen after a terrible midterm loss. The last time was 1894 when GOP took a super-majority in the House (but not the Senate) but they didn’t even have a real majority in the Senate so Grover Cleveland’s veto could not be overridden party line.
I think Taft-Hartley was the last MAJOR piece of legislation passed over a veto, with Southern dems joining almost every Republican in overriding Truman.
And the last time that one party had a veto-proof majority in both houses while the president was of the other party was from 1865-1869, when Democrat Andrew Johnson served as president because of President Lincoln’s brilliant “National Union ticket” idea and an assassin’s bullet.