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

Remove whitespace between @media and parenthesis #626

Closed
valtlai opened this issue Oct 3, 2018 · 2 comments
Closed

Remove whitespace between @media and parenthesis #626

valtlai opened this issue Oct 3, 2018 · 2 comments

Comments

@valtlai
Copy link

valtlai commented Oct 3, 2018

If I have code like this

@media (min-width: 21rem) {
  --x: y;
}

It can be minified to

@media(min-width:21rem){--x:y}

But it gets minified to

@media (min-width:21rem){--x:y}

Could whitespace after @media and before opening parenthesis ( be removed?

@alexander-akait
Copy link
Member

Duplicate #324

@alexander-akait
Copy link
Member

Feel free to send a PR

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

No branches or pull requests

2 participants