-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Mixin duplicates selector in Bootstrap (probable less issue) #2052
Comments
Apparently this only happens to our clearfix classes, which get extended all over the place in Bootstrap. |
Yes, this is known issue / expected behaviour (#1850). The problem is that there're a few major things that make such kind of library wrapping to be very limited:
Speaking of this particular issue (i.e. (2)) the result is expected since For instance a quick and dirty kludge for this particular
But I doubt this would actually make too much sense currently since the whole approach still remains broken because of (1) and (3). |
@seven-phases-max you linked to a closed issue as the duplicate, which has not been resolved. is there a duplicate that is still open? |
Oops, sorry my bad, rewording the closing reason. This is expected behaviour by current |
I imagine there is no feature request regarding this at the moment? I would also love to be table to have access to this. I am attempting to do a simple wrap and I'm caught with the same issues as described in 4. by @seven-phases-max . For now I sed-search&replace the superfluous .class in a subsequent task, but this is merely a workaround. |
Issue
Wrapping/Scoping Bootstrap generates duplicate selectors with LESS.
The issue impacts negatively the third-party use of the BS.
Input:
Output:
Should be:
_Original Bootstrap issue:_
twbs/bootstrap#13779
The text was updated successfully, but these errors were encountered: