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

Change regex to support small viewports. For example 50x50 #246

Merged
merged 1 commit into from Mar 19, 2016

Conversation

oskarkvamme
Copy link
Contributor

Change regex to support small viewports. For example 50x50. Are there any reasons why the range is from 3 to 4?

@oskarkvamme
Copy link
Contributor Author

Looks like http://viewportsizes.com/devices.json is a bit unstable. I need to browse the url first, and then run the tests to get them to pass.

@sindresorhus
Copy link
Owner

Reran the tests and passes now, so probably just some intermittent issue.

@sindresorhus
Copy link
Owner

Are there any reasons why the range is from 3 to 4?

I think I just assumed no one would use less than that.

sindresorhus added a commit that referenced this pull request Mar 19, 2016
Change regex to support small viewports. For example  50x50
@sindresorhus sindresorhus merged commit ccc5b28 into sindresorhus:master Mar 19, 2016
@oskarkvamme
Copy link
Contributor Author

Using it for screenshot of small banners :)

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.

None yet

2 participants