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 unitless size #90

Merged

Conversation

vyorkin
Copy link
Collaborator

@vyorkin vyorkin commented Jul 7, 2018

Ported from Clay.

Resolves #79

pct :: Number -> Size Rel
pct i = Size (value i <> fromString "%")

-- | Size in em's.
Copy link
Member

Choose a reason for hiding this comment

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

Typo? In that they're relative ems.

@vyorkin
Copy link
Collaborator Author

vyorkin commented Jul 8, 2018

Rebased, fixed copy/paste typo

@garyb garyb merged commit 57070c8 into purescript-contrib:master Jul 8, 2018
@vyorkin vyorkin deleted the feature/unitless-size branch July 8, 2018 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants