Leggings too tight?

I'm currently 22 weeks pregnant. My friend told me today that I need to wear bigger leggings cause the ones I have on are way too tight and it's not allowing my belly and baby to grow. She said I'm squishing my baby. I never really thought about this before. Is that really a thing? can the baby be harmed by this?