Torn between the needs of two children

I have a newborn and a 2 year old. My toddler is struggling with the adjustment of having a new baby, and wants me and only me all the time. She has started rejecting and pushing away my husband. We’ve had some serious meltdowns and I know it is caused by the anxiety of a baby sibling. I try to give my toddler attention and one-on-one time, but it’s not really helping. Lately I’m just feeling like I’m stretched too thin, and putting all of my energy into appeasing my toddler to prevent meltdowns (damage control), which means my newborn isn’t always getting the attention she deserves. I’m just really struggling to balance their needs, especially as my toddler adjusts to our new baby. I also don’t know how to handle them both after my husband goes back to work in a few weeks. Anyone been through this or have advice?