Use ellipsis + tooltip combo to fix layout on long string

This commit is contained in:
nymkappa
2022-06-09 15:58:49 +02:00
parent bb7bd1a504
commit aa02170e5c
10 changed files with 57 additions and 15 deletions

View File

@@ -48,4 +48,8 @@ export class RewardStatsComponent implements OnInit {
})
);
}
isEllipsisActive(e) {
return (e.offsetWidth < e.scrollWidth);
}
}