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

Stripe.js: «The use of the style property lineHeight is discouraged» #51

Open
dmitrii-fediuk opened this issue Nov 15, 2017 · 3 comments
Labels

Comments

@dmitrii-fediuk
Copy link
Member

The use of the style property lineHeight is discouraged, because it can lead to visual inconsistencies among various browsers.
Consider using a padding on the Element’s container instead.

02

@ghost
Copy link

ghost commented Dec 23, 2017

Any progress with this?

@dmitrii-fediuk
Copy link
Member Author

I support only the paying customers.

@keerthitn13
Copy link

Remove line height property from jquery style base,

var card = elements.create('card', {
style: {
base: {
iconColor: '#666EE8',
color: '#31325F',
lineHeight: '40px',
fontWeight: 300,
fontFamily: 'Helvetica Neue',
fontSize: '15px',

  '::placeholder': {
    color: '#CFD7E0',
  },
},

}
});

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

No branches or pull requests

2 participants