I don't get what you exactly mean by "wrap the icons". But when the formatting is getting overridden by the element style attribute, add !important to your CSS and the style gets overridden.
for example when the display property on the style is display: block; and you want it to be inline write following CSS: