💅 Fix button styling

This commit is contained in:
Asim Shrestha
2023-04-09 13:56:03 -07:00
parent 47095012a0
commit ef7a524504
2 changed files with 3 additions and 3 deletions

View File

@@ -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 ${

View File

@@ -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"