nicooprat/Css2Less

media queries make it queasy

Closed this issue · 2 comments

This:

@media screen and (max-width: 1000px) {
    #hello {
        color: blue;
    }

    #hello #buddy {
        background: red;
    }
}

Generated this, which made me queasy :)

@media {
    screen {
        and {
            (max-width: {
                1000px) {
                    #hello;
                }
            }
        }
    }
}
color: {
    #FFF; {
        #hello #buddy;
    }
}

Hi,

Thanks for reporting, but this repository is only for the web app, not the CSS to LESS converter. This bug is clearly coming from it, so you better report it here : https://github.com/thomaspierson/libcss2less/issues

Looks like it has already been reported though (#21) ! :)

Regards.

Ah, right, thank you!