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(button): Fix vertical alignment of contents #2534

Merged
merged 2 commits into from
Apr 9, 2018

Conversation

kfranqueiro
Copy link
Contributor

@kfranqueiro kfranqueiro commented Apr 9, 2018

When creating the horizontal-padding mixin, we unwittingly removed styles that set 0 top and bottom padding, which is important for overriding UA stylesheets. I also didn't need to remove the line-height style when switching to inline-flex.

Also added a note to the readme to clarify the case of customizing padding when stroke is used.

Copy link
Contributor

@patrickrodee patrickrodee left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-io
Copy link

codecov-io commented Apr 9, 2018

Codecov Report

Merging #2534 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2534   +/-   ##
=======================================
  Coverage   98.62%   98.62%           
=======================================
  Files         104      104           
  Lines        4226     4226           
  Branches      530      530           
=======================================
  Hits         4168     4168           
  Misses         58       58

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 e7efbdd...c4e1457. Read the comment docs.

@kfranqueiro kfranqueiro merged commit 6bc73ca into master Apr 9, 2018
@kfranqueiro kfranqueiro deleted the fix/button/vertical-alignment branch April 9, 2018 15:53
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.

3 participants