Skip to content
This repository has been archived by the owner on May 1, 2021. It is now read-only.

Font size degree equal to $scale-factor causes division by zero #2

Open
dwightjack opened this issue Nov 26, 2019 · 0 comments
Open

Comments

@dwightjack
Copy link
Contributor

In sizes-lh if the $font-size-degree parameter is equal to $scale-factor sass encounters a division by zero in the following line:

https://github.com/devjam/harmonic-modular-scale/blob/e0ba8a702e173a06956e9d984fb4c2ae0e704d22/scss/_index.scss#L79

We should check for this scenario and return with an error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant