Hello parent!
I understand your concern. Usually after a viral fever the cough persists for a longer time about a week or 2
The reason for cough in the night can be due to multiple reasons
1. Her nose is getting blocked while sleeping and she's breathing through her mouth hence her throat gets dry and that triggers a cough reflex
2. There is still some irritation in the throat due to her viral illness
Next Steps
There are many things you can do to help with this
1. Home remedy: mix some honey with the juice of ginger and give her one teaspoon of it just before sleeping (tried and tested from experience)
2. give her a cough syrup relent plus (ambroxol+ Cetirizine) 2.5ml at night before sleep
3. if you feel like her nose is blocked you can use saline nasal drops or any menthol+ eucalyptus oil like carvol plus (2 drops on the pillow cover) just before sleeping
4. please avoid cow milk , you can continue breastfeeding
Health Tips
Pay a visit to your Pediatrician if you notice any of the following
1. fast breathing
2. chest in drawing
3. child is lethargic or irritable
4. child is not taking well orally
5. has a reduced urine output
6. appears blue or pale