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

addon-info: fix copy button styling #3896

Merged
merged 1 commit into from
Jul 18, 2018
Merged

Conversation

adekbadek
Copy link
Contributor

The copy button in Story Source was shrunk when the source was too wide to fit on screen (https://monosnap.com/file/0k7rzJAxlBV9XiFLGeJnnUKs12dipg).

Issue:

What I did

added flex-shrink rule to copyButton

How to test

Is this testable with Jest or Chromatic screenshots?
Does this need a new example in the kitchen sink apps?
Does this need an update to the documentation?

If your answer is yes to any of these, please make sure to include it in your PR.

For maintainers only: Please tag your pull request with at least one of the following:
["cleanup", "BREAKING CHANGE", "feature request", "bug", "documentation", "maintenance", "dependencies", "other"]

The copy button in Story Source was shrunk when the source was too wide to fit on screen (https://monosnap.com/file/0k7rzJAxlBV9XiFLGeJnnUKs12dipg).
@codecov
Copy link

codecov bot commented Jul 18, 2018

Codecov Report

Merging #3896 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3896      +/-   ##
==========================================
- Coverage   41.56%   41.55%   -0.02%     
==========================================
  Files         455      455              
  Lines        5177     5176       -1     
  Branches      899      898       -1     
==========================================
- Hits         2152     2151       -1     
  Misses       2485     2485              
  Partials      540      540
Impacted Files Coverage Δ
...ons/info/src/components/markdown/pre/copyButton.js 100% <ø> (ø) ⬆️
lib/components/src/tabs/tabs.js 97.22% <0%> (-0.08%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9211dcb...1c9e4c1. Read the comment docs.

@danielduan danielduan added bug patch:yes Bugfix & documentation PR that need to be picked to main branch labels Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants