Giving infant Tylenol while sleeping?

Baby girl is 9 weeks old, just got her first round of vaccinations and is fighting off a cold so some times she will spike a bit of a fever. We have infant Tylenol to give her when that is the case. Now, has anyone given their LO medicine while they are alseep/ really sleepy? I checked her temp after she ate at 230 am and gave her the medicine but now I'm worried she was to sleepy and I should have done it before I fed her when she was more alert. She didn't choke on it and she has been sleeping fine for 30 minutes or so. I guess I just want reassurance that I didn't do something harmful.