Skip to content

Commit c308b80

Browse files
author
Lorenzo Iovino
committed
up
1 parent b366d36 commit c308b80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ng2fittext.directive.ts

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export class Ng2FittextDirective implements AfterViewInit, OnInit {
5353
this.setFontSize(this.container.clientHeight);
5454
} else {
5555
this.setFontSize(this.container.clientWidth);
56+
}
5657
}
5758
this.el.nativeElement.style.setProperty('will-change', 'content');
5859
}

0 commit comments

Comments
 (0)