Skip to content

[FIX] updates Button small variant padding#682

Merged
BinaryMuse merged 1 commit into
primer:release-15.2.4from
alanbsmith:ISSUE-681
Feb 4, 2020
Merged

[FIX] updates Button small variant padding#682
BinaryMuse merged 1 commit into
primer:release-15.2.4from
alanbsmith:ISSUE-681

Conversation

@alanbsmith

Copy link
Copy Markdown
Contributor

• resolves issue

Describe your changes here.

Closes #681

Screenshots

Gatsby docs running in Chrome:
Screen Shot 2020-02-03 at 1 09 45 AM

Merge checklist

  • Added or updated TypeScript definitions (index.d.ts) if necessary
  • Added/updated tests
  • Added/updated documentation
  • [x ] Tested in Chrome
  • [x ] Tested in Firefox
  • [x ] Tested in Safari
  • Tested in Edge

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

@vercel

vercel Bot commented Feb 3, 2020

Copy link
Copy Markdown

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/primer/primer-components/gylvkrq5j
✅ Preview: https://primer-components-git-fork-alanbsmith-issue-681.primer.now.sh

@vercel vercel Bot temporarily deployed to Preview February 3, 2020 08:15 Inactive
Comment thread src/Button.js
const variants = variant({
variants: {
small: {
p: '3px 10px',

@alanbsmith alanbsmith Feb 3, 2020

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I saw other components, like TextInput, use separate px and py props, but this directly replaced the padding in buttonStyles. Happy to update it if you'd like though.

@simurai simurai requested review from BinaryMuse and emplums February 3, 2020 13:27
@simurai simurai added ds-triaged fr-skip Remove this from the Design Systems first responder list and removed ds-triaged fr-skip Remove this from the Design Systems first responder list labels Feb 3, 2020
@BinaryMuse BinaryMuse changed the base branch from master to release-15.2.4 February 4, 2020 18:40

@BinaryMuse BinaryMuse left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍 LGTM! Thank you :)

@BinaryMuse BinaryMuse merged commit 9966147 into primer:release-15.2.4 Feb 4, 2020
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.

🐞[Bug] Button small variant incorrect padding

3 participants