up
This commit is contained in:
parent
7a1bcdc619
commit
b366d366c8
1 changed files with 1 additions and 1 deletions
|
|
@ -53,8 +53,8 @@ export class Ng2FittextDirective implements AfterViewInit, OnInit {
|
|||
this.setFontSize(this.container.clientHeight);
|
||||
} else {
|
||||
this.setFontSize(this.container.clientWidth);
|
||||
this.el.nativeElement.style.setProperty('will-change', 'content');
|
||||
}
|
||||
this.el.nativeElement.style.setProperty('will-change', 'content');
|
||||
}
|
||||
|
||||
ngAfterViewInit() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue