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

Add letter spacing support. #475

Merged
merged 3 commits into from
Dec 14, 2016
Merged

Add letter spacing support. #475

merged 3 commits into from
Dec 14, 2016

Conversation

blaugueux
Copy link
Contributor

No description provided.

@@ -65,6 +65,7 @@ class Text extends Component {
fontStyle: mjAttribute('font-style'),
fontWeight: mjAttribute('font-weight'),
lineHeight: mjAttribute('line-height'),
letterSpacing: mjAttribute('letter-spacing', "px"),
Copy link
Member

Choose a reason for hiding this comment

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

Hey ! mjAttribute has no 2nd params, you should use the defaultUnit function if you want so

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@iRyusa
Copy link
Member

iRyusa commented Dec 14, 2016

Can you add it to the default mjml definition too please ?

@blaugueux
Copy link
Contributor Author

Added in default section.

@iRyusa iRyusa merged commit 1f316c6 into mjmlio:master Dec 14, 2016
@blaugueux
Copy link
Contributor Author

@iRyusa thx

@mattez
Copy link

mattez commented Mar 15, 2017

Hi, what about add support also to mj-button ?

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

3 participants