From 4c350f5c149c473e932eb1e1e81b4dcf48571a3f Mon Sep 17 00:00:00 2001 From: equilink Date: Sun, 16 Feb 2025 17:57:58 +0000 Subject: [PATCH] Update client/src/pages/AgentCreator.tsx --- client/src/pages/AgentCreator.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/pages/AgentCreator.tsx b/client/src/pages/AgentCreator.tsx index a26e8a6..3b9629d 100644 --- a/client/src/pages/AgentCreator.tsx +++ b/client/src/pages/AgentCreator.tsx @@ -572,10 +572,10 @@ const AgentCreator: React.FC = () => { onClick={() => { setActiveTab(id); }} - className={`flex-1 flex items-center justify-center px-4 py-2 + className={`flex-1 flex items-center justify-center hover:scale-95 duration-300 px-4 py-2 rounded-md text-gray-700 ${activeTab === id ? "bg-gradient-to-r from-[#F7F957] to-[#F9D02C]" - : "bg-gray-200" + : "bg-gray-200 hover:bg-gray-300" }`} > @@ -821,7 +821,7 @@ const AgentCreator: React.FC = () => { className={`absolute bottom-4 right-4 px-4 py-2 rounded-md bg-gradient-to-r from-[#F7F957] to-[#F9D02C] text-gray-700 flex items-center ${isGenerating ? "opacity-50 cursor-not-allowed" - : "hover:scale-95" + : "hover:scale-95 duration-300" }`} onClick={async () => { if (isGenerating) return; // Prevent multiple clicks while generating