Skip to content

Commit

Permalink
Fix: truncate long process names in glances widget (gethomepage#3079)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye authored and shamoon committed Mar 9, 2024
1 parent 8b029ac commit a660b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/glances/metrics/process.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default function Component({ service }) {
<div key={item.pid} className="text-[0.75rem] h-[0.8rem]">
<div className="flex items-center">
<div className="w-3 h-3 mr-1.5 opacity-50">{statusMap[item.status]}</div>
<div className="opacity-75 grow">{item.name}</div>
<div className="opacity-75 grow truncate">{item.name}</div>
<div className="opacity-25 w-14 text-right">{item.cpu_percent.toFixed(1)}%</div>
<div className="opacity-25 w-14 text-right">
{t("common.bytes", {
Expand Down

0 comments on commit a660b42

Please sign in to comment.