Skip to content

Commit

Permalink
Merge pull request #54 from ric-v/main
Browse files Browse the repository at this point in the history
modal button color for active item fixed
  • Loading branch information
ric-v authored Jul 18, 2022
2 parents 79f5fe3 + 6724baa commit 9632381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/modal/ModalButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const ModalButton = ({ text, close, handleClick, classes, disabled }: Props) =>
focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0
sm:ml-3 sm:w-auto sm:text-sm transition duration-1000 ease-in-out
shadow-[10px_10px_20px_-5px_rgba(0,0,0,0.53)]
bg-${close || disabled ? 'gray-800' : 'teal-700'} hover:bg-${close || disabled ? 'gray' : 'teal'}-900 ${classes}
${disabled ? 'cursor-not-allowed' : ''}`}
${close || disabled ? 'bg-gray-800 hover:bg-gray-900' : 'bg-teal-600 hover:bg-teal-800'}
${disabled ? 'cursor-not-allowed' : ''} ${classes}`}
onClick={handleClick}
>
{text}
Expand Down

1 comment on commit 9632381

@vercel
Copy link

@vercel vercel bot commented on 9632381 Jul 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.