Open
Description
In this code:
.some-module {
@height: 200px;
@width: 200px;
text-align: left;
line-height: @height; // 200px
& {
// Override original values
@height: 100px;
@width: auto;
.some-module__element {
height: @height; // 100px
width: @width; // 200px --- not 200px, but "auto".
}
// ...
}
// ...
}
There is a problem with the annotation, width of ".some-module__element" is "auto", which overrides original value “200px".
Metadata
Metadata
Assignees
Labels
No labels