Update client/src/pages/AgentCreator.tsx
This commit is contained in:
parent
126073780b
commit
4c350f5c14
@ -572,10 +572,10 @@ const AgentCreator: React.FC = () => {
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
setActiveTab(id);
|
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
|
rounded-md text-gray-700 ${activeTab === id
|
||||||
? "bg-gradient-to-r from-[#F7F957] to-[#F9D02C]"
|
? "bg-gradient-to-r from-[#F7F957] to-[#F9D02C]"
|
||||||
: "bg-gray-200"
|
: "bg-gray-200 hover:bg-gray-300"
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<Icon className="w-4 h-4 mr-2" />
|
<Icon className="w-4 h-4 mr-2" />
|
||||||
@ -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
|
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
|
${isGenerating
|
||||||
? "opacity-50 cursor-not-allowed"
|
? "opacity-50 cursor-not-allowed"
|
||||||
: "hover:scale-95"
|
: "hover:scale-95 duration-300"
|
||||||
}`}
|
}`}
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
if (isGenerating) return; // Prevent multiple clicks while generating
|
if (isGenerating) return; // Prevent multiple clicks while generating
|
||||||
|
Loading…
x
Reference in New Issue
Block a user