Use ellipsis + tooltip combo to fix layout on long string
This commit is contained in:
@@ -292,5 +292,9 @@ export class PoolRankingComponent implements OnInit {
|
||||
this.chartOptions.backgroundColor = 'none';
|
||||
this.chartInstance.setOption(this.chartOptions);
|
||||
}
|
||||
|
||||
isEllipsisActive(e) {
|
||||
return (e.offsetWidth < e.scrollWidth);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user