New mom! Benadryl question

So I have a bad rash and I’m taking 1/4 of a Benadryl pill. Today I took 1/4 twice so only half a pill total. But I just pumped and fed it to baby. In the hospital they told me this was perfectly fine but now everything I’m reading doesn’t seem so. I’m so nervous. Is this ok!?