Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cursors where applicable #133

Merged
merged 4 commits into from
Nov 29, 2023
Merged

Conversation

matt-user
Copy link
Contributor

closes FE-40

Copy link

linear bot commented Nov 29, 2023

FE-40 Add pointer cursor on buttons and links

The pagination component should show a pointer cursor on the prev and next buttons when they are they are enabled.

This should respect the disabled props.

The task should impact:

  • The pagination component should show the pointer cursor
  • Link
  • Button
  • Icon Button

@matt-user matt-user enabled auto-merge (squash) November 29, 2023 18:38
Copy link
Contributor

@LuizAsFight LuizAsFight left a comment

Choose a reason for hiding this comment

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

when hovering the iconButtons they're having this green background, which doesn't exist in master. I suspect the reason is the change I requested

image

>
{isLoading ? (
<Spinner color="current" size={getIconSize(size, iconSize)} />
) : (
<Icon
className={cx(iconClassName, 'cursor-pointer')}
className={iconClassName}
Copy link
Contributor

Choose a reason for hiding this comment

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

you need to keep the cx( here right?

Suggested change
className={iconClassName}
className={cx(iconClassName)}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no I don't think we need cx here. If you look here iconClassName was not initially wrapped with cx. I believe cx is used when we want to add classes to an existing class.

@matt-user matt-user merged commit bdc027f into main Nov 29, 2023
6 checks passed
@matt-user matt-user deleted the matt-user/feat-add-cursor branch November 29, 2023 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants