The Democrats have attempted to pass several anti-gerrymandering bills. One in the Senate in 2024, one in the House in 2021. Both stonewalled by Republicans.
The Republican SCOTUS appointees allowed partisan gerrymandering, the Democratic ones were in the dissent.
California's prop 50 was IN RESPONSE to an unprecedented mid-term gerrymandering effort by Texas at the behest of Trump.
I just picked one example, but I could easily write similar responses that show very stark differences between the parties when it comes to wars, stacking the court, war with Iran, and more.