Take the edge off (something)

To lessen or weaken or soften something.

We had a drink of hot chocolate to take the edge off the cold weather.