Skip to content

Make card brand icons use px instead of em - #848

Merged
joshsmith merged 1 commit into
developfrom
make-cards-use-px
Dec 12, 2016
Merged

Make card brand icons use px instead of em#848
joshsmith merged 1 commit into
developfrom
make-cards-use-px

Conversation

@joshsmith

Copy link
Copy Markdown
Contributor

What's in this PR?

Minor change that uses px instead of em for card brand icons since they are pixel-perfect. Makes sense here over em, IMO.

line-height on the neighboring p then matches height for the icon.

@joshsmith joshsmith added this to the Improve Donations milestone Dec 9, 2016

@rileytaylor rileytaylor 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.

This is how I would do it as well. Best to use pixels with pixels. LGTM!

@joshsmith
joshsmith merged commit b011646 into develop Dec 12, 2016
@joshsmith
joshsmith deleted the make-cards-use-px branch December 12, 2016 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants