-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
.dl-horizontal with empty <dd> is not working #12753
Comments
Yeah, it looks like it is a LESS bug, as this example works perfectly fine. |
Upon further reading of the LESS docs, this looks to be a documented behavior of So One fix would be to revert the |
Ah, I see, should've at least flipped through the LESS documentation 😄 |
Yes, so should”ve I, before filing the initial ticket! Sure. I'll create a PR. |
PR #12756 created. |
Fixed in b99be29. Closing. |
<3 thanks! |
(Note for self and future readers: None of the other clearfix inclusions that were changed to use |
The
&:extend(.clearfix all)
on.dl-horizontal dd
(line 209 oftype.less
) does not seem to be working. I.e. thedd
s are not getting clearfixed, with the result that if a<dd>
is empty, the<dd>
s from the subsequent row will move up, being displayed in place of the empty<dd>
.This appears to have become an issue with 3.1.0 when
.clearfix()
was replaced with&:extend(.clearfix all)
(in 0016c17).(Perhaps this, at its root, is a lessc bug having to do with
extend
s within media queries?)A demo of the problem is at http://jsbin.com/codam/1. (Note that
bar def
should be displayed on the same "row" asBar
, but instead it is displayed next toFoo
.)Updated: Fixed link to commit 0016c17
The text was updated successfully, but these errors were encountered: