We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b366d36 commit c308b80Copy full SHA for c308b80
src/ng2fittext.directive.ts
@@ -53,6 +53,7 @@ export class Ng2FittextDirective implements AfterViewInit, OnInit {
53
this.setFontSize(this.container.clientHeight);
54
} else {
55
this.setFontSize(this.container.clientWidth);
56
+ }
57
}
58
this.el.nativeElement.style.setProperty('will-change', 'content');
59
0 commit comments