Added specs.

This commit is contained in:
Michael Spalti
2022-09-09 13:44:25 -07:00
parent ccb4c0794c
commit 9218c0545f
10 changed files with 387 additions and 4 deletions

View File

@@ -243,11 +243,11 @@ export class ObjectCollectionComponent implements OnInit {
setPlaceHolderFontSize() {
const width = this.elementRef.nativeElement.offsetWidth;
if (width < 750) {
this.placeholderFontClass = "thumb-font-1";
this.placeholderFontClass = 'thumb-font-1';
} else if (width < 1000) {
this.placeholderFontClass = "thumb-font-2";
this.placeholderFontClass = 'thumb-font-2';
} else {
this.placeholderFontClass = "thumb-font-3";
this.placeholderFontClass = 'thumb-font-3';
}
}