mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 18:56:17 +01:00
truncate tooltip container name if very long
This commit is contained in:
@@ -157,6 +157,7 @@ export default memo(function ContainerChart({
|
||||
<ChartTooltip
|
||||
animationEasing="ease-out"
|
||||
animationDuration={150}
|
||||
truncate={true}
|
||||
labelFormatter={(_, data) => formatShortDate(data[0].payload.created)}
|
||||
// @ts-ignore
|
||||
itemSorter={(a, b) => b.value - a.value}
|
||||
|
||||
Reference in New Issue
Block a user