Antihistamines taken during pregancy post certain risks. This drug crosses the placenta and there might be risks to the fetus. I suggest that your wife consult with her Doctor for recommendation of another drug, already proven to be safe for both mother and fetus.
See below excerpts from Lexi-Comp Drugs an authoritative source for information on prescribed medication.
Pregnancy Considerations:
Teratogenic effects were not observed in animal studies. Diphenhydramine crosses the human placenta. One retrospective study showed an increased risk of cleft palate formation following maternal use of diphenhydramine during the 1st trimester of pregnancy; however, later studies have not confirmed this finding. Signs of toxicity and symptoms of withdrawal have been reported in infants following high doses or chronic maternal use close to term. Diphenhydramine has been evaluated for the treatment of hyperemesis gravidarum. It is generally not considered the antihistamine of choice for treating allergic rhinitis or nausea and vomiting during pregnancy.
Breast-Feeding Considerations
Infants may be more sensitive to the effects of antihistamines. Use while breast-feeding is contraindicated by the manufacturer.
I would not advise a pregnant woman to take any antihistamines. There are anecdotal reports in which there is an association of infants being born with a serious eye condition that could result in blindness, and cleft palate. Since these drugs are excreted in breast milk, I would discourage their use while breast feeding. Their somnolent effect would be exaggerated in an infant.
By the way, when your wife is pregnant, her dermatitis may improve.