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

Prefixr not working when properties are nested in an .scss file #13

Open
ricardozea opened this issue Jan 9, 2013 · 2 comments
Open

Comments

@ricardozea
Copy link

This is one of those bugs with huge impact, not sure why no one has reported it yet.

Basically, if I have this very simple structure in a .scss file, Prefixr doesn't work:

div { 
    columns:3;
    column-gap:0;
        p { color:#000; }
}

If I remove the p { color:#000; } rule then Prefixr works fine.

What I do for this to happen is either one of two things: either place my mouse anywhere between columns:3; column-gap:0; or select all those properties, and then press ctrl+alt+x

However if I select the entire declaration from the selector div to the closing bracket } it does work.

The problem is that selecting the entire declaration can be quite cumbersome, but mostly because if you're working with an .scss file you're going to have nested rules (and very likely quite complex in structure), so selecting the entire declaration just won't work either.

The ideal behaviors would be:

  1. Place your mouse on the property you want "Prefixr-ed" o_O, press ctrl+alt+x and that's it.
  2. Select the properties you want Prefixer-ed, press ctrl+alt+x and that's it.

Thanks.

@isour2
Copy link

isour2 commented Feb 13, 2013

in *.less files prefixr don't work too

@wesdekoninck
Copy link

I also noticed that this plugin is not working when being called in a .LESS file. Any thoughts on a work around? Or am I just doing something right?

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

3 participants