added active animations for job list popup

This commit was merged in pull request #404.
This commit is contained in:
2023-09-07 16:53:16 +01:00
parent c427521ac3
commit 1991bab675
+5 -2
View File
@@ -465,10 +465,13 @@ const JobFieldInput = ({
{/* btn */}
<div className="my-1 flex justify-end items-center">
<button
type="submit"
type="button"
name={inputName}
onClick={errorHandler}
className="px-2 py-1 text-sm text-white btn-gradient tracking-wide rounded-md"
className={`px-2 py-1 text-sm text-white btn-gradient tracking-wide rounded-md ${
!value && "disabled:grayscale-[65%] transition duration-300"
}`}
disabled={!value}
>
{loader ? <LoadingSpinner size={5} /> : btnText}
</button>