mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(tabs): fix accidentally setting top instead of width after removing Renderer use (#8602)
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user