I'm currently working with Angular and Angular Material, and I have a md-button that includes both an icon and text. You can view it here:
Here is the code snippet for reference:
<md-button layout="row" style="width:80px;" layout-align="center center" ng-href="">
<div class="material-icons" style="font-size: 36px;">keyboard_arrow_left</div>
<div translate>Back</div>
</md-button>
The current width of the icon is set to 36px, but I would like to make it smaller, around 24px. However, just adjusting the width of the
<div class="material-icons">
element does not reduce the size properly due to the padding around the icon.
Does anyone know how to resize the icon to 24px and ensure that it remains centered within those 24px?