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

merging media queries #316

Closed
ogorzalka opened this issue Mar 13, 2012 · 1 comment
Closed

merging media queries #316

ogorzalka opened this issue Mar 13, 2012 · 1 comment

Comments

@ogorzalka
Copy link

Hi,

It would be interesting similar media queries :

Consider this :

h2 {
    @media only screen and (max-width : 480px) {
        font-size: 1.2em;
    }
}

#content {
    div {
        @media only screen and (max-width : 480px) {
            width: 100%:
        }
    }
}

Currently, Sass interprets that way :

@media only screen and (max-width : 480px) {
    h2 {
        font-size: 1.2em;
    }
}

@media only screen and (max-width : 480px) {
    #content div {
        width: 100%:
    }
}

Should it not be interpreted as the following:

@media only screen and (max-width : 480px) {
    h2 {
        font-size: 1.2em;
    }

    #content div {
        width: 100%:
    }
}
@nex3
Copy link
Contributor

nex3 commented Mar 13, 2012

This is a subset of #116.

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