Skip to content

Commit

Permalink
updates styles for disabled buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinusey committed Feb 3, 2024
1 parent 8cb15ce commit c8f4437
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Components/StatusDropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export default function StatusDropdown(props) {
onClick={toggleDropdown}
className={`${
props.status === "abandoned"
? "bg-red-500 dark:bg-red-500"
: "bg-gray-300"
} text-white bg-gray-600 duration-300 focus:ring-4 focus:outline-none focus:ring-gray-200 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-gray-500 dark:focus:ring-gray-500" type="button`}
? "bg-red-300 dark:bg-red-400 dark:bg-opacity-50"
: "bg-gray-300 dark:bg-opacity-50 dark:bg-gray-600"
} text-white cursor-default bg-gray-300 duration-300 focus:ring-4 focus:outline-none focus:ring-gray-200 font-medium rounded-lg text-sm px-5 py-2.5 text-center inline-flex items-center dark:bg-gray-500 dark:focus:ring-gray-500" type="button`}
>
{props.status === "abandoned" ? "Abandoned" : "Completed"}

Expand Down

0 comments on commit c8f4437

Please sign in to comment.