Massively increasing the supply of housing so a parent regardless of gender could stay at home and still afford a house would also fix the problem.
A universal basic income would also fix the issue of both parents needing to work to afford a house.
We could also consider parenting a job and pay parents a living wage to stay at home and raise their kids.
The fact you immediately suggested the only solution to this problem would be to limit women's right to work is a bit sad. There are plenty of good solutions that would work well and don't need to restrict or rollback the progress we've made towards equality. At the very least you could have suggested limiting families to one working parent rather than specifically women.