To build Robert's answer, you can even make a combination of the icon and text on the tab.
<md-tab id="tab1" class="less-padding"> <md-tab-label> <section layout="column" layout-align="center center"> <md-icon md-svg-src=".svg" class="md-accent"></md-icon> Yes/No </section> </md-tab-label> <md-tab-body> View for Item #1 <br/> data.selectedIndex = 0; </md-tab-body> </md-tab>
Finally, edit the CSS padding specified for .md-tab, where the default padding is "padding: 12px 24px;". Make the top and bottom padding as 1px and you should be good! Hope this helps someone!
source share