Rib pain

Jazz

Anyone experiencing rib pain? I’m 17weeks today and for the past 2 weeks every night around the same time I get pain behind my right rib. Midwife said could be liver being pushed up or ligament pain. It only really disappears when lying down or standing so I end up just going to bed really early . Baths haven’t helped either