How to set the Angular material tab's mat-ink-bar to take the width of tab header text width

437 views
Skip to first unread message

Nuwan Chamara

unread,
May 1, 2018, 3:31:08 AM5/1/18
to angular-material2

I want the Angular material tab's mat-ink-bar to take the width of the tab header text's width. Currently it is larger than the tab header text width.

Following image shows how it looks now.

Current look

Following image shows how I want it to be.

How I want the mat-tab-ink-bar to look

Could you help me on how to make this happen?

Reply all
Reply to author
Forward
Message has been deleted
0 new messages