forked from hazza/dspace-angular
14 lines
308 B
TypeScript
14 lines
308 B
TypeScript
/**
|
|
* Sets the class to be used for the "no thumbnail"
|
|
* placeholder font size in lists.
|
|
*/
|
|
export function setPlaceHolderFontSize(width: number): string {
|
|
if (width < 750) {
|
|
return 'thumb-font-1';
|
|
} else if (width < 1000) {
|
|
return 'thumb-font-2';
|
|
} else {
|
|
return 'thumb-font-3';
|
|
}
|
|
}
|