Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upsass length method breaks in at statement #275
Comments
|
same problem here |
|
Same. src/app/menu/menu.component.scss
flex-shrink: 0;
}
}
-@for $i from 1 through length($menu-bg-colors) {
+@for $i from 1 through length ($menu-bg-colors) {
.menu.menu_#{$i - 1} {
&::-webkit-scrollbar-track {
background-color: nth($menu-bg-colors, $i);
} |
|
i'll look at this today. |
|
any update about a fix? |
|
@t-p-l-k cool thanks |
|
Any update on this or merge the PR? This bug is preventing me using it in my project. So a fixed release would be great, thanks! |
|
@t47io here's a temporary fix: $length-menu-bg-colors: length($menu-bg-colors);
@for $i from 1 through $length-menu-bg-colors {
...
}Create a variable to store array's length and use it instead. |
|
any news about this PR? |
|
@morishitter ping? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


(this is without any config btw)
a space is added after the length method is used in a
@for:input:
output:
this works when in a normal declaration:
input:
output: