Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

fix(docker): truncate long image names in container table

rcourtman383c4e21f3fc
diff --git a/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx b/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx
index a1de9e7564..1dec7b1508 100644
--- a/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx
+++ b/frontend-modern/src/components/Docker/DockerUnifiedTable.tsx
@@ -1290,10 +1290,15 @@ const DockerContainerRow: Component<{
case 'image':
return (
<div
- class="px-2 py-0.5 text-xs text-gray-700 dark:text-gray-300 truncate max-w-[200px]"
- title={container.image || undefined}
+ class="px-2 py-0.5 text-xs text-gray-700 dark:text-gray-300 overflow-hidden"
+ style={{ "max-width": "200px" }}
>
- {container.image || '—'}
+ <span
+ class="block truncate"
+ title={container.image || undefined}
+ >
+ {container.image || '—'}
+ </span>
</div>
);
case 'status':