I agree ☝
If weather permits and you have something for her to graze on.
Take her out for a little while.
If she has been penned up, I find goats get depressed being confined and do not eat well.
If it is too cold for babies, leave babies in and get her to go out by herself. Unless after making her go out and she keeps coming back then let her back in. At first, she doesn’t want to leave her kids. I make her go out for
a little while. She walks out to nibble on things and gets a break from being confined.
If she is out and nibbles for a short time then walks back to the kids area, then let her in. Do it on and off.
That is if you have things to graze on.

But even allowing her to move around is good for her.
I also find, some do not want alfalfa hay after kidding, but will eat oat or rye hay, weird but as long as she is eating something is better than nothing right?
But if she will eat alfalfa, that is good. Calcium can be drenched of she won’t eat alfalfa.
After a while, they do start eating alfalfa again.
Test her ketones as well.