From b176f8f860df916d0cb047203d2d556147b813ca Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Mon, 6 Jul 2026 03:35:39 -0600 Subject: [PATCH] refactor(ui): streamline button styles and layout in dashboard components - Removed unnecessary width class from buttons in ShowNodeApplications and ShowNodeConfig components for a cleaner design. - Updated spacing in the NodeCard component to use gap instead of space-x for improved layout consistency. These changes enhance the visual consistency and usability of the dashboard UI components. --- .../dashboard/swarm/applications/show-applications.tsx | 4 ++-- .../components/dashboard/swarm/details/details-card.tsx | 2 +- .../components/dashboard/swarm/details/show-node-config.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/dokploy/components/dashboard/swarm/applications/show-applications.tsx b/apps/dokploy/components/dashboard/swarm/applications/show-applications.tsx index 9a7d384bf..5a8441736 100644 --- a/apps/dokploy/components/dashboard/swarm/applications/show-applications.tsx +++ b/apps/dokploy/components/dashboard/swarm/applications/show-applications.tsx @@ -33,7 +33,7 @@ export const ShowNodeApplications = ({ serverId }: Props) => { return ( - @@ -82,7 +82,7 @@ export const ShowNodeApplications = ({ serverId }: Props) => { return ( - diff --git a/apps/dokploy/components/dashboard/swarm/details/details-card.tsx b/apps/dokploy/components/dashboard/swarm/details/details-card.tsx index a783a52e1..f0dd1d36c 100644 --- a/apps/dokploy/components/dashboard/swarm/details/details-card.tsx +++ b/apps/dokploy/components/dashboard/swarm/details/details-card.tsx @@ -110,7 +110,7 @@ export function NodeCard({ node, serverId }: Props) { -
+
diff --git a/apps/dokploy/components/dashboard/swarm/details/show-node-config.tsx b/apps/dokploy/components/dashboard/swarm/details/show-node-config.tsx index a535d13c7..afed238a3 100644 --- a/apps/dokploy/components/dashboard/swarm/details/show-node-config.tsx +++ b/apps/dokploy/components/dashboard/swarm/details/show-node-config.tsx @@ -24,7 +24,7 @@ export const ShowNodeConfig = ({ nodeId, serverId }: Props) => { return ( -