Skip to content

@container rule being flagged as "unknownAtRules" when nested in SCSS #381

Closed
@dladeira

Description

@dladeira

I have the following code snippet in a NUXT project:

.item-icon {
    height: 1.6rem;

    &-sm {
        height: 1rem;
    }

    @container (max-height: 100px) {
        display: none;
    }
}
</style>

And @container is being flagged with Unknown at rule @containerscss(unknownAtRules). The expected behavior is nothing being flagged, as the code runs as expected.

This problem only applies when the rule is nested

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions