We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
.header { &__links-item { display: flex; justify-content: center; align-items: center; height: 28px; &--icon:extend(&) { width: 28px; } } }
output:
.header__links-item { display: flex; justify-content: center; align-items: center; height: 28px; } .header__links-item--icon { width: 28px; }
I expected this:
.header__links-item--icon, .header__links-item { display: flex; justify-content: center; align-items: center; height: 28px; } .header__links-item--icon { width: 28px; }
Is it possible to achieve such a result somehow?
The text was updated successfully, but these errors were encountered:
No. Extend does not support anything but plain CSS selectors. The best you can do now is something like:
Extend
.header { &__links-item { &, &--icon { display: flex; justify-content: center; align-items: center; height: 28px; } &--icon { width: 28px; } } }
Sorry, something went wrong.
Closing as (an edge case) duplicate of #1485.
No branches or pull requests
output:
I expected this:
Is it possible to achieve such a result somehow?
The text was updated successfully, but these errors were encountered: