I don't know how to solve this problem, but making people aware of it is a good first step. It helps people who are in favor of transit yell at all politicians who are not helping them. Blind party allegiance is never a good thing.
Also, the culture for whatever reason seems to emphasize enabling gamesmanship around overtime, special duty pay, etc. as opposed to paying a good steady rate for a normal day's work.
People hate unions too when they're directly affected by them. Case in point, the dock workers strike from a while back. When people realized their Chinese made slop Amazon christmas presents would be delayed because of the dock workers strike, they suddenly stopped empathizing with them and hating them for it.
Inter-class solidarity isn't much of a thing. If one worker class starts breaking things in society/the economy to get a better deal for themselves at the expense of the other classes, even if they're on the same level, the others will hate them for it.
Another example would be if airline workers would go on strike for better pay and working conditions ... during summer. Imagine how many people who paid for holidays would empathize with them. We are an individualist society.