-
Notifications
You must be signed in to change notification settings - Fork 772
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
color of collapse component goes out fix #272
Conversation
style={{ backgroundColor: getCollapseColor(collapseKey) }} | ||
style={{ | ||
backgroundColor: getCollapseColor(collapseKey), | ||
borderTopLeftRadius: resourceCollapses.length == 0 ? "7px" : "0px", |
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.
Why are you checking resourceCollapses.length == 0? Shouldn't it always be 7px? Also, why 7?
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.
Oh okay, I get it. Good job. Can you add |
sure ,made changes |
style={{ | ||
backgroundColor: getCollapseColor(collapseKey), | ||
borderTopLeftRadius: index == 0 ? "7px" : "0px", | ||
borderTopRightRadius: index == 0 ? "7px" : "7px", |
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 update to "7px" : "0px"?
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 update to "7px" : "0px"?
done
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 @AKHIL-DyC
closes #269
π Description
β Checks
βΉ Additional context