mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Fix: truncate long process names in glances widget (#3079)
This commit is contained in:
parent
8b029ac11c
commit
a660b42095
@ -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", {
|
||||
|
Loading…
x
Reference in New Issue
Block a user