Is a person allowed to go a vort while in avelus?
You can go in for a short time to wish mazal tov, and even have something light such as a piece of cake or fruit. If there is music playing you can only enter to say mazal tov, and must leave immediately.
Hilchos Aveilus pg. 218