Get Your Dog Care Questions Answered by Experts ASAP
Stomach viruses can last anywhere from a day to several days. The fact that she's no longer vomiting is a good sign though.
It's perfectly okay to let her have Pedialyte. I'd dilute it down just a bit...half and half is a good place to start, but only allow her to have it in small amounts, just to avoid overwhelming her stomach and getting her back on the vomiting kick.
Dogs who have a stomach virus tend to not want to eat...sort of like a human when they have the flu. You don't really want to eat because you don't want to get the vomiting started again. As long as she's still drinking, that's better than not eating AND not drinking. A dog can go a few days without eating and not cause any real problems, but dehydration can sneak up on you quickly, so making sure that she's still drinking, at least a little at a time, is important.
If she's not acting more like herself or if she still hasn't eaten in the next 24 hours or so, then you should absolutely have her seen by a vet again, just to be on the safe side.
I hope this helps.