8000 space-after-selector-delimiter : Indentation inside @media with multiple selectors · Issue #653 · csscomb/csscomb.js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

space-after-selector-delimiter : Indentation inside @media with multiple selectors #653

New issue

Have a question about this project? Sign up for a free GitHub account to o 863A pen 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

Open
julien- opened this issue Mar 25, 2022 · 0 comments

Comments

@julien-
Copy link
julien- commented Mar 25, 2022

My config :

{
  "space-after-selector-delimiter": "\n",
  "color-case": "lower"
}

I am using gulp-csscomb library , here is my Gulp repo if you want to test

Before :

You can test it as .SCSS code

@media only screen and (max-width: 767px) {
  #sel1,
  #sel2 {
    background: red;
  }
}

#sel3 {
  padding: 5px;
}

After :

@media only screen and (max-width: 767px) {
  #sel1,
#sel2 {
    background: red;
  }
}
#sel3 {
  padding: 5px;
}

Wanted

I want the same than in Before, so :

  1. Fix issue of "space-after-selector-delimiter" inside @media block
  2. Fix issue of space after @media block (as you can see, there is no new line)
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

1 participant
0