From 8db7a421dc9539e524f7cb8d2d63a5e0f3b18baf Mon Sep 17 00:00:00 2001 From: mhbdev Date: Tue, 6 Jan 2026 16:04:19 +0330 Subject: [PATCH] Made the deployments list items responsive by stacking the metadata/actions under the status on small screens, then restoring the side-by-side layout at sm and up. This keeps the date/duration and buttons from being squeezed or pushed off-screen in narrow widths. --- .../application/deployments/show-deployments.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx b/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx index ca7a93518..cfe747d27 100644 --- a/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx +++ b/apps/dokploy/components/dashboard/application/deployments/show-deployments.tsx @@ -256,9 +256,9 @@ export const ShowDeployments = ({ return (
-
+
{index + 1}. {deployment.status}
-
-
+
+
{deployment.startedAt && deployment.finishedAt && ( -
+
{deployment.pid && deployment.status === "running" && ( Kill Process @@ -364,6 +365,7 @@ export const ShowDeployments = ({ onClick={() => { setActiveLog(deployment); }} + className="w-full sm:w-auto" > View @@ -405,6 +407,7 @@ export const ShowDeployments = ({ variant="secondary" size="sm" isLoading={isRollingBack} + className="w-full sm:w-auto" > Rollback