The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix: Added grab cursor on hover over favorite icon (#4415)
Jeet Desai858416530bff
diff --git a/packages/twenty-front/src/modules/favorites/components/Favorites.tsx b/packages/twenty-front/src/modules/favorites/components/Favorites.tsxindex bda4a5db6e3..cd6ee5d8b15 100644--- a/packages/twenty-front/src/modules/favorites/components/Favorites.tsx+++ b/packages/twenty-front/src/modules/favorites/components/Favorites.tsx@@ -13,6 +13,22 @@ const StyledContainer = styled(NavigationDrawerSection)`width: 100%;`;+const StyledAvatar = styled(Avatar)`+ :hover {+ cursor: grab;+ }+`;++const StyledNavigationDrawerItem = styled(NavigationDrawerItem)`+ :active {+ cursor: grabbing;++ .fav-avatar:hover {+ cursor: grabbing;+ }+ }+`;+export const Favorites = () => {const { favorites, handleReorderFavorite } = useFavorites();@@ -41,15 +57,16 @@ export const Favorites = () => {draggableId={id}index={index}itemComponent={- <NavigationDrawerItem+ <StyledNavigationDrawerItemkey={id}label={labelIdentifier}Icon={() => (- <Avatar+ <StyledAvatarentityId={recordId}avatarUrl={avatarUrl}type={avatarType}placeholder={labelIdentifier}+ className="fav-avatar"/>)}to={link}