This component markup:
<lightning:tab aura:id="tab" title="{# 'New or Existing ' + v.tab.label }"> <aura:set attribute="label"> <lightning:icon iconName="{# v.tab.iconName }" size="small" class="slds-m-right_x-small"/> {# 'New or Existing ' + v.tab.label } </aura:set> ... </lightning:tab> outputs the icons with their background color stretched vertically:
The only example I found in the SLDS documentation uses icons that have no background color.
I've tried adding extra markup but have not found a way to get the backgrounds presenting as I would like them so that the icons are square and vertically centred like the text is.
Is there a solution?


