How much should there be in an emergency fund?

My partner and I are in the process of buying a place together and have opened up a joint savings account as an emergency fund. I’ve always thought of these funds as ideally needing to be enough to cover 6 months of rent/mortgage plus other bills but is there anything we’re missing here?

It feels especially important as there’s a big disparity in our income and I know I wouldn’t be able to cover our mortgage alone if they were to lose their job, whereas they could cover it if I were to lose mine. (Not that this is likely, I’m just planning for worst case scenarios!)