mirror of
https://github.com/aljazceru/AgentGPT.git
synced 2025-12-17 05:54:20 +01:00
💅 Fix button styling
This commit is contained in:
@@ -33,7 +33,7 @@ const Button = forwardRef(
|
||||
type={props.type}
|
||||
disabled={loading || props.disabled}
|
||||
className={clsx(
|
||||
"text-gray/50 rounded-lg border-[2px] border-white/30 px-10 py-3 font-bold transition-all",
|
||||
"text-gray/50 rounded-lg border-[2px] border-white/30 px-5 py-3 font-bold transition-all sm:px-10",
|
||||
props.disabled
|
||||
? " cursor-not-allowed border-white/10 bg-zinc-900 text-white/30"
|
||||
: ` mou cursor-pointer bg-[#1E88E5]/70 text-white/80 hover:border-white/80 hover:bg-[#0084f7] hover:text-white hover:shadow-2xl ${
|
||||
|
||||
@@ -133,7 +133,7 @@ const Home: NextPage = () => {
|
||||
) : (
|
||||
<>
|
||||
<VscLoading className="animate-spin" size={20} />
|
||||
<span className="ml-2">Agent running</span>
|
||||
<span className="ml-2">Running</span>
|
||||
</>
|
||||
)}
|
||||
</Button>
|
||||
@@ -147,7 +147,7 @@ const Home: NextPage = () => {
|
||||
{stoppingAgent ? (
|
||||
<>
|
||||
<VscLoading className="animate-spin" size={20} />
|
||||
<span className="ml-2">Stopping agent</span>
|
||||
<span className="ml-2">Stopping</span>
|
||||
</>
|
||||
) : (
|
||||
"Stop agent"
|
||||
|
||||
Reference in New Issue
Block a user