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

custom media overwrites styles #7

Closed
estrattonbailey opened this issue May 21, 2021 · 2 comments
Closed

custom media overwrites styles #7

estrattonbailey opened this issue May 21, 2021 · 2 comments
Labels

Comments

@estrattonbailey
Copy link
Member

Say you've got breakpoints [400, 800]:

css({
  pt: [2, 4, 6],
  '@media (min-width: 800px)': {
    pt: 8,
  }
})

pt at 800px is going to be 6, since the custom media defined will actually overwrite the pt abbrev.

@estrattonbailey
Copy link
Member Author

Same issue here with borderRadius

Screen Shot 2021-06-24 at 8 44 17 AM

estrattonbailey added a commit that referenced this issue Dec 21, 2021
github-actions bot pushed a commit that referenced this issue Dec 21, 2021
## [3.2.1](v3.2.0...v3.2.1) (2021-12-21)

### Bug Fixes

* custom media overrides ([ba1a813](ba1a813)), closes [#7](#7)
@github-actions
Copy link

🎉 This issue has been resolved in version 3.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant