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

fix(breakpoints): useThemeUp inclusive min #113

Merged
merged 1 commit into from
Jul 18, 2020

Conversation

agriffis
Copy link
Collaborator

@agriffis agriffis commented May 18, 2020

Summary

useThemeDown is exclusive so useThemeUp should be inclusive, otherwise
there's a hole when width is exactly value.

Test plan

Testing amounted to staring at the code and noticing this bug while working on
something unrelated (see #114)

useThemeDown is exclusive so useThemeUp should be inclusive, otherwise
there's a hole when width is exactly value.
@gregberge gregberge merged commit 722d5fc into styled-components:master Jul 18, 2020
@gregberge
Copy link
Collaborator

Thanks for spotting it!

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