CON-2122: reset CSS paddings and margins inside templates