We noticed a strange behavior when trying to do matches. Issue demostrated below:
> const css = require('css-mediaquery')
undefined
> css.match('screen and (min-width: 48em)', { width: '48em' })
false
> css.match('screen and (max-width: 48em)', { width: '48em' })
false
I think these both should return true. That's how Chrome matchMedia()works when tested.
We noticed a strange behavior when trying to do matches. Issue demostrated below:
I think these both should return true. That's how Chrome
matchMedia()works when tested.