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

inconsistent documentation with respect to code, for margin top/right/bottom/left #646

Open
Rudy167 opened this issue Oct 15, 2019 · 2 comments

Comments

@Rudy167
Copy link

Rudy167 commented Oct 15, 2019

margin_issue
](url)
Hi everyone,
I had been using tachyons for a while, and i have encountered this issue-
mt3=1rem -true
mt4!=2rem instead it is 1.5 rem, i have attached the screenshot code for the same above.,
the scale grows with 0.5 rem at a time(which i feel is actually better than the current scale), but i do not understand why is that happening.

@shiftgeist
Copy link

This happends because it is not a 0.5 rem growth, but a 50% grows:

0.25 * 2 = 1
0.5 * 2 = 1
1 * 2 = 4
...
and so on

@ViniciusCastroJS
Copy link

Every "mt" have the double that the previous "mt"

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

No branches or pull requests

3 participants