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

Adding "dpi" as a valid dimensions for media queries #753

Merged
merged 1 commit into from
May 15, 2012

Conversation

clarkni5
Copy link
Contributor

@clarkni5 clarkni5 commented Apr 5, 2012

This fixes a problem I ran into with media queries. The example below was throwing a syntax error because "dpi" was not recognized as a valid dimension.

@media only screen and (min-resolution: 240dpi) { }

@souldreamer
Copy link

👍. So much better than using the ~"240dpi" 'hack'...

@sashasklar
Copy link
Contributor

lgtm

sashasklar added a commit that referenced this pull request May 15, 2012
Adding "dpi" as a valid dimensions for media queries
@sashasklar sashasklar merged commit b235734 into less:master May 15, 2012
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.

3 participants