Skip to content

Commit

Permalink
fix: changed color for disabled Pagination button and cursor type (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
macintushar authored Apr 16, 2024
1 parent f39c068 commit 845af97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/src/components/Pagination/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ const PageChangeButton = ({
minWidth='0'
padding={0}
_hover={{ backgroundColor: 'gray.300' }}
_disabled={{
_hover: { cursor: 'not-allowed' },
backgroundColor: 'gray.400',
}}
isDisabled={!isEnabled}
>
{type === PAGE_CHANGE_BUTTON_TYPE.PREVIOUS ? (
Expand Down

0 comments on commit 845af97

Please sign in to comment.