Skip to content

Commit

Permalink
fix(tabs): fix accidentally setting top instead of width after re…
Browse files Browse the repository at this point in the history
…moving Renderer use (#8602)
  • Loading branch information
jelbourn authored Nov 22, 2017
1 parent 4dd8a31 commit 6e865b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/tabs/ink-bar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ export class MatInkBar {
const inkBar: HTMLElement = this._elementRef.nativeElement;

inkBar.style.left = element ? (element.offsetLeft || 0) + 'px' : '0';
inkBar.style.top = element ? (element.offsetWidth || 0) + 'px' : '0';
inkBar.style.width = element ? (element.offsetWidth || 0) + 'px' : '0';
}
}

0 comments on commit 6e865b7

Please sign in to comment.