-
Notifications
You must be signed in to change notification settings - Fork 131
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 is pointer when superuser hover over users #470
base: develop
Are you sure you want to change the base?
fix: cursor is pointer when superuser hover over users #470
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@Maheima I have fixed the issues which you pointed out yesterday , you can review it. |
box-shadow: none; | ||
&:hover { | ||
box-shadow: none; | ||
} | ||
} | ||
.containerForNewMemberHover { | ||
@extend .containerForNewMember; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impressive 🙌
Good use of @extend
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review.
@@ -7,7 +7,7 @@ | |||
} | |||
|
|||
.newUser { | |||
pointer-events: none; | |||
pointer-events: auto; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't the expectation, only super user should perform some action on pointer event and rest shouldn't?
Clarify in case I am thinking wrong here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes anyone with a super user role should be able to have a cursor pointer property for the rest of the users it should be the default cursor pointer.
src/components/new-members/index.js
Outdated
<div | ||
className={ | ||
isSuperUser | ||
? styles.containerForNewMemberHover |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please think of better classnames here? Rest everything looks great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I am changing it to something more meanigful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just resolve all the conversations
closes : #466
Issue :
The cursor is not pointer when super user hovers over new user profile .
Files Changed
index.js
new-members.module.scss
Fixes :
Added the cursor pointer when the superuser hovers on new user profiles.
For better understanding and more reference, Please read the issue ticket: #466
Issue