Keep the Docker page's Stop button in view when an image name is very long

A container image pinned by digest (name@sha256:...) has no spaces to wrap at, so a
single one made the whole table wider than the page and pushed the Actions column
off the edge: Restart still fit, Stop did not, and the sideways scrollbar sat at the
bottom of a long list. The container, host and image cells can now wrap.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-10-06 21:22:08 +02:00
1 parent a641211484
commit c95d31d2d8
1 file changed
+5 -3
+5 -3
View File
@@ -252,9 +252,11 @@ export default function Docker({ user }: { user: CurrentUser }) {
<tbody>
{pageItems?.map((c) => (
<tr key={`${c.environmentId}:${c.id}`}>
<td>{c.name}</td>
<td className="text-secondary">{c.environmentName}</td>
<td className="text-secondary">{c.image}</td>
{/* text-break: a long name or a digest-pinned image (name@sha256:…) has no spaces to wrap at, and would otherwise make the
table wider than the page and push the action buttons out of sight. */}
<td className="text-break">{c.name}</td>
<td className="text-secondary text-break">{c.environmentName}</td>
<td className="text-secondary text-break">{c.image}</td>
<td>
{containerStateBadge(c.state)}
<div className="text-secondary small">{c.status}</div>