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

Mismatch between Expected and Actual Output in Official Documentation Example #618

Open
xiaoyan13 opened this issue Jan 30, 2024 · 0 comments

Comments

@xiaoyan13
Copy link

Here

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".

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