Skip to content

Conversation

@liaoyinglong
Copy link
Contributor

Close support nested @container #389

@liaoyinglong
Copy link
Contributor Author

@microsoft-github-policy-service agree

test('@container', function () {
const parser = new LESSParser();
assertNode(`.item-icon { @container (max-height: 100px) { .item-icon { display: none; } } }`, parser, parser._parseStylesheet.bind(parser));
assertNode(`:root { @container (max-height: 100px) { display: none;} }`,parser,parser._parseStylesheet.bind(parser));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs formatting...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I'll do the change...)

@aeschli aeschli merged commit e20f006 into microsoft:main Apr 8, 2024
@aeschli aeschli added this to the April 2024 milestone Apr 8, 2024
@aeschli aeschli mentioned this pull request Apr 8, 2024
@aeschli
Copy link
Collaborator

aeschli commented Apr 8, 2024

Thanks @liaoyinglong !

@aeschli aeschli mentioned this pull request Apr 8, 2024
@lilnasy lilnasy mentioned this pull request Jan 1, 2025
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

Successfully merging this pull request may close these issues.

3 participants