fix: allow duplicate selectors in scope, coz its safe to have them, coz hashing isnt affected by selector position

This commit is contained in:
Yiffy Dev 2024-12-13 01:26:23 +05:00 • committed by spushk
commit 1b63e4cd3c
Signed by: spushk
GPG key ID: 7797B761E105E8AA
2 changed files with 68 additions and 11 deletions

View file

@ -0,0 +1,17 @@
.el1
color: red
&-mob
color: blue
&__blist
list-style: none
.el2
color: white
&-mob
color: black
&__blist
background: white
&-mob
background: black

View file

@ -0,0 +1,24 @@
.el1 {
color: red;
&-mob {
color: blue;
}
&__blist {
list-style: none;
}
}
.el2 {
color: white;
&-mob {
color: black;
}
&__blist {
background: white;
&-mob {
background: black;
}
}
}