We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
top
width
1 parent 4dd8a31 commit 6e865b7Copy full SHA for 6e865b7
src/lib/tabs/ink-bar.ts
@@ -59,6 +59,6 @@ export class MatInkBar {
59
const inkBar: HTMLElement = this._elementRef.nativeElement;
60
61
inkBar.style.left = element ? (element.offsetLeft || 0) + 'px' : '0';
62
- inkBar.style.top = element ? (element.offsetWidth || 0) + 'px' : '0';
+ inkBar.style.width = element ? (element.offsetWidth || 0) + 'px' : '0';
63
}
64
0 commit comments