I think if it were me, I would have had them both, height and width set at auto, so it displays as is and set the dimensions via CSS, allowing us to set how big or small we want the icon, rather than fixating those values which then leads to cropping.