-
Notifications
You must be signed in to change notification settings - Fork 313
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
Added VH and VW units #162
Conversation
I've discovered that the value isnt being invalidated. Fixing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot! This is a very welcome addition :)
Generally it looks really good, although I have a few suggestions here.
(i rebased the branch on master, is this done correctly? im not quite sure actually) |
Yeah, the commits are a bit weird right now, as my master changes got mixed in here. I'll do squash and merge, and it shouldn't be a problem I think. Otherwise you could do an interactive rebase to clean up the commits if you prefer. Looks like you need to include the context header to |
Thanks for the PR! |
VH and VW are CSS units to specify sizes in percent of viewport width (vw) and height (vh)
The implementation follows the one of the DP unit