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

Double class name in selector #2589

Closed
kirill-konshin opened this issue May 16, 2015 · 2 comments
Closed

Double class name in selector #2589

kirill-konshin opened this issue May 16, 2015 · 2 comments

Comments

@kirill-konshin
Copy link

When LESS version of Twitter Bootstrap is wrapped with a class:

.Bootstrap {
    @import "bower_components/bootstrap/less/bootstrap";
}

It produces:

.Bootstrap .Bootstrap .nav:before,
.Bootstrap .Bootstrap .nav:after {
  content: " ";
  display: table;
}

All other definitions are correctly wrapped with only one .Bootstrap class.

Definition of .nav:

.nav {
  &:extend(.clearfix all);

...

.clearfix() {
  &:before,
  &:after {
    content: " "; // 1
    display: table; // 2
  }
  &:after {
    clear: both;
  }
}
@seven-phases-max
Copy link
Member

See #2052 (and #1850 for more details).

@seven-phases-max
Copy link
Member

Closing as duplicate of #2052.

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

2 participants