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

Use output-rhythm mixin #27

Merged
merged 1 commit into from
Nov 6, 2014
Merged

Use output-rhythm mixin #27

merged 1 commit into from
Nov 6, 2014

Conversation

timcooper
Copy link

If the $rhythm-unit is set to rem and $rem-with-px-fallback enabled expected behaviour is to output a px fallback wherever rems are used.

This works for the most part, but in one or two places where rhythm() is used it would output rems with no fallback, wrapping these lines in output-rhythm solves this.

If we're using rems just using rhythm() won't give a px fallback if
enabled
@JohnAlbin
Copy link
Owner

Nice!

@JohnAlbin JohnAlbin merged commit a88fd96 into JohnAlbin:master Nov 6, 2014
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.

2 participants