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(overflowmenuitem): isDanger should not apply a dividing border #8072

Merged

Conversation

tay1orjones
Copy link
Member

@tay1orjones tay1orjones commented Mar 11, 2021

The OverflowMenuItem doesn't need to automatically apply a border/divider when the item isDanger since the hasDivider prop is available. This was pointed out on slack.

Changelog

Changed

  • removed the selector applying border when OverflowMenuItem has isDanger

Testing / Reviewing

The OverflowMenu playground story now has isDanger and hasDivider as knobs.

@tay1orjones tay1orjones requested a review from a team as a code owner March 11, 2021 16:01
@tay1orjones tay1orjones mentioned this pull request Mar 11, 2021
87 tasks
@netlify
Copy link

netlify bot commented Mar 11, 2021

Deploy preview for carbon-elements ready!

Built with commit 83bf736

https://deploy-preview-8072--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Mar 11, 2021

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 83bf736

https://deploy-preview-8072--carbon-components-react.netlify.app

@netlify
Copy link

netlify bot commented Mar 11, 2021

Deploy preview for carbon-elements ready!

Built with commit 95da352

https://deploy-preview-8072--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Mar 11, 2021

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 95da352

https://deploy-preview-8072--carbon-components-react.netlify.app

@tw15egan tw15egan requested review from a team and thyhmdo and removed request for a team March 11, 2021 18:33
Copy link
Contributor

@andreancardona andreancardona left a comment

Choose a reason for hiding this comment

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

@tay1orjones looks good!

@thyhmdo
Copy link
Member

thyhmdo commented Mar 16, 2021

looks good to me as well.

@kodiakhq kodiakhq bot merged commit 8714af5 into carbon-design-system:main Mar 16, 2021
@tay1orjones tay1orjones deleted the overflowmenuitem-danger-border branch March 16, 2021 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants