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

Button size was incorrect. #1864

Merged
merged 3 commits into from
Feb 16, 2022
Merged

Button size was incorrect. #1864

merged 3 commits into from
Feb 16, 2022

Conversation

pksjce
Copy link
Collaborator

@pksjce pksjce commented Feb 14, 2022

Describe your changes here.

Button size in our storybooks was incorrect for invisible button. Height should be 32px.
Updated padding calculation to reflect that.
Some extra checks to iconLabel and children to fix couple of issues I found while implementing Button2 in memex.

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@pksjce pksjce requested review from a team and colebemis February 14, 2022 01:13
@changeset-bot
Copy link

changeset-bot bot commented Feb 14, 2022

🦋 Changeset detected

Latest commit: a13f062

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Feb 14, 2022

size-limit report 📦

Path Size
dist/browser.esm.js 62.6 KB (0%)
dist/browser.umd.js 62.99 KB (0%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants