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

fix: Cursor pointer on Settings cards #7291

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

harshit078
Copy link
Contributor

Note

This PR solves the issue #7289

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR adds a cursor pointer to the SettingsCard component in the settings page, addressing issue #7289 to improve user experience by indicating clickable cards.

  • Modified packages/twenty-front/src/modules/settings/components/SettingsCard.tsx to add hover effect and cursor pointer
  • Potential conflict with existing cursor styles in the StyledCard component
  • Implementation focuses on CSS changes, not addressing HTML tag modifications for improved accessibility
  • Consider reviewing usage in SettingsNavigationCard and SettingsAccountsSettingsSection for comprehensive solution
  • May need additional changes to fully align with accessibility best practices mentioned in the issue

1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings

@@ -27,6 +27,7 @@ const StyledCard = styled(Card)<{
width: 100%;
& :hover {
background-color: ${({ theme }) => theme.background.quaternary};
cursor: pointer;
Copy link
Contributor

Choose a reason for hiding this comment

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

style: This overrides the existing cursor logic. Consider merging with the existing cursor style or removing the duplicate styling.

Copy link
Member

@FelixMalfait FelixMalfait left a comment

Choose a reason for hiding this comment

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

Thank you!

@FelixMalfait FelixMalfait merged commit c6d763e into twentyhq:main Sep 27, 2024
5 of 11 checks passed
Copy link

Thanks @harshit078 for your contribution!
This marks your 17th PR on the repo. You're top 2% of all our contributors 🎉
See contributor page - Share on LinkedIn - Share on Twitter

Contributions

harshit078 added a commit to harshit078/twenty that referenced this pull request Oct 14, 2024
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