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

space in media queries after colon &: selectors #565

Closed
jarnovanrhijn opened this issue Oct 22, 2014 · 1 comment
Closed

space in media queries after colon &: selectors #565

jarnovanrhijn opened this issue Oct 22, 2014 · 1 comment

Comments

@jarnovanrhijn
Copy link

Hi,

First of all, great plugin and thanks for the active updates!

I've read several other issues that might be related to this one but i couldn't find to be the same.

If, in CSS you have add a media query and you put an &: selector right after the media query, it still adds a space where it shoudn't. if you move the selector beneath an other selector it doesn't add a space.

for example:

 @media(min-width:768px) {
      .selector::after {
           <-- property : value -->
      }
     .other-selector {
           <-- property : value -->
      }
 }

This would add a space to the ::after selector

however if you swap the to selectors it would not add a space.

for example:

 @media(min-width:768px) {
      .other-selector {
           <-- property : value -->
      }
      .selector::after {
           <-- property : value -->
      }
 }

would result in not adding spaces.

Thanks and great work!

@bitwiseman bitwiseman added this to the 1.6.1 milestone Jan 29, 2016
@bitwiseman
Copy link
Member

It looks like this is fixed in 1.6.0. Need to add a regression test.

@bitwiseman bitwiseman modified the milestones: 2.0.0, 1.6.1 Jan 30, 2016
@bitwiseman bitwiseman modified the milestones: v1.6.4, v2.0.0 Aug 30, 2016
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