From 30b66a4828eb191669fdebf624a50d2bb6a57693 Mon Sep 17 00:00:00 2001 From: Nishant Mogha Date: Fri, 19 Sep 2025 21:13:20 +0530 Subject: [PATCH 1/2] fix: prevent shrinking icon button for view mode on add template --- apps/dokploy/components/dashboard/project/add-template.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/components/dashboard/project/add-template.tsx b/apps/dokploy/components/dashboard/project/add-template.tsx index 38ff85d15..f79038386 100644 --- a/apps/dokploy/components/dashboard/project/add-template.tsx +++ b/apps/dokploy/components/dashboard/project/add-template.tsx @@ -248,7 +248,7 @@ export const AddTemplate = ({ environmentId, baseUrl }: Props) => { onClick={() => setViewMode(viewMode === "detailed" ? "icon" : "detailed") } - className="h-9 w-9" + className="h-9 w-9 flex-shrink-0" > {viewMode === "detailed" ? ( From 5e01505e4d88b2de909c9b0ff0044447d83d2c15 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sat, 20 Sep 2025 16:36:36 -0600 Subject: [PATCH 2/2] fix: update input class for better responsiveness in add template component --- apps/dokploy/components/dashboard/project/add-template.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/components/dashboard/project/add-template.tsx b/apps/dokploy/components/dashboard/project/add-template.tsx index f79038386..72c42da49 100644 --- a/apps/dokploy/components/dashboard/project/add-template.tsx +++ b/apps/dokploy/components/dashboard/project/add-template.tsx @@ -171,7 +171,7 @@ export const AddTemplate = ({ environmentId, baseUrl }: Props) => { setQuery(e.target.value)} - className="w-full sm:w-[200px]" + className="w-full" value={query} />