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

False calcuation min-width( @width + 1) #3271

Closed
oterral opened this issue Jul 6, 2018 · 3 comments
Closed

False calcuation min-width( @width + 1) #3271

oterral opened this issue Jul 6, 2018 · 3 comments

Comments

@oterral
Copy link

oterral commented Jul 6, 2018

Since 3.5.2

@media (min-width: (@screen-tablet + 1)) {

is transformed in:

@media (min-width: (768px + 1)) {

instead of:

@media (min-width: (769px)) {
@matthew-dean
Copy link
Member

This is technically a dupe of #3265 but ideally, parens in a calculation in an at-rule would (maybe) allow the expression. Or maybe this shouldn't have been changed for 3.5. 🤔

@matthew-dean
Copy link
Member

I'm going to revert this because it's a non-obvious change and this is probably the more common pattern than the aspect ratio one.

@matthew-dean
Copy link
Member

This is a problem related to #1880

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

No branches or pull requests

2 participants