Skip to content
This repository was archived by the owner on May 21, 2022. It is now read-only.
This repository was archived by the owner on May 21, 2022. It is now read-only.

nested @extend only taking deepest class #5

@msosa

Description

@msosa

Hey, when I try to extend something inside a nest it just seems to be taking the deepest class or element tag, here is an example:

.test {
    color: red;
}

.foo {
    input {
        @extend .test;
    }
}

When compiled it turns into

.test,  input {
    color: red;
}

When it should be

.test, .foo input {
    color: red;
}

it seems to work correctly here http://www.sassmeister.com/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions