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(CopyButton): ensure copy text is placed over icons #7611

Merged
merged 4 commits into from
Jan 26, 2021

Conversation

tw15egan
Copy link
Collaborator

@tw15egan tw15egan commented Jan 20, 2021

Closes #7324
Closes #7605

Ensures Copy button feedback text is placed over other Copy button icons. Also fixes an issue with multiple CodeSnippets being placed on top of each other.

Changelog

New

  • z-index: 3 added to .#{$prefix}--copy-btn__feedback

Testing / Reviewing

Go to https://codesandbox.io/s/wonderful-cori-nnk8g?file=/index.js and find the .bx--copy-btn .bx--copy-btn__feedback in the inspector. Then add z-index: 3; and ensure the feedback tex is placed over subsequent CopyButton instances

@netlify
Copy link

netlify bot commented Jan 20, 2021

Deploy preview for carbon-elements ready!

Built with commit 5c06c06

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

@netlify
Copy link

netlify bot commented Jan 20, 2021

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 5c06c06

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

Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

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

looks good to me

Copy link
Contributor

@aledavila aledavila left a comment

Choose a reason for hiding this comment

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

Looks good

@kodiakhq kodiakhq bot merged commit b287b8f into carbon-design-system:master Jan 26, 2021
@tw15egan tw15egan deleted the tooltip-fix branch April 28, 2021 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants