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

BUG >> Html tag &.class is compiled as html tag with a class inside. #832

Open
thefullstackunicorn opened this issue Mar 23, 2021 · 0 comments

Comments

@thefullstackunicorn
Copy link

This SASS instruction

.dark { .red { & svg { &:hover { fill: $red-dark }}}}

is compiled

.dark .hover .red svg:hover { fill: #8B0000; }
instead of

dark .hover svg:hover.red { fill: #8B0000; }
Current result is that after compile, in CSS svg is inside the class RED, while it should be at the same level.

I solved the issue putting a class .svg to the svg element, and in that case it worked.

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

1 participant