Another one here who agrees with Lollydaydream
If women stop having babies, our species will become extinct. Women make up 51% of the population.
Having children should have no more effect on a woman's career and earning potential than it does for a man's. Presently that's not the case.
It's unfortunate that this can negatively affect some employers, but what's the solution other than to make the female half of the population suffer? As a society we have to find ways of allowing our species to have the advantages of procreation (survival of the species, future generations to make up a workforce and pay tax), without penalising only the one half of society involved in that process.
Fathers who are sole/primary carers often report the same detrimental effect on their careers as women, but what they don't suffer from is the disadvantage of being perceived as "of childbearing age" with all the negative consequences that has on a woman's career before she's even pregnant.
Apart from the initial physical recovery period, I'd like to see the abolition of maternity leave and see it replaced with parental leave, so that a man who starts a new job with his wife 6 months pregnant could opt to take it and be the primary carer while his wife returned to work post partum.
IMO that would do more to remove the disadvantages faced by women than anything else. Until men and women face the same choices about career v parenthood, society is not treating women fairly.