tentcss
tentcss copied to clipboard
Math in breakpoint-max mixin no longer working in newer version of Sass
After recently upgrading to gulp-sass 3.2.1 which uses node-sass 4.8.3, the math to subtract 1px no longer works leaving me things like:
max-width(48em - 0.0625em)
in the processed CSS which does not work in the browser.
As a workaround I had to remove the px to em conversion for that 1px and for each breakpoint size. Could be related to https://github.com/sitetent/tentcss/issues/28, but I tried some of the suggested methods and it still wasn't working.
https://github.com/sitetent/tentcss/blob/bac3d003a7c45a5b8be59bef50328e50bd99256c/src/02_tools/_breakpoints.scss#L20
Thanks @jmcgaha! I'll take a look at this and see if I can get a refactor for the current version of Tent.