up
This commit is contained in:
parent
b366d366c8
commit
c308b800df
1 changed files with 1 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ 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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue