-
-
Notifications
You must be signed in to change notification settings - Fork 78.8k
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
non float: left on col-*-12 cause overlap of elements when the number of columns in a row add up to > 12 #10152
Comments
I believe you need to add a |
You are right, i did not read well. But i found the problem described for col-*-12 classes (100% without float) only.
the "conditional" visible-xs, don't solve the problem for the large(r) grid. In this case you will need clear fix without responsive utility class (or |
I believe we added some trickery to make multiple responsive utility classes play better together, but anyway, yeah, you might need to tweak the condition on the clearfix div. |
It's may be not a good solution, but i did that: [class*=col-]{ & + .col-xs-12, & + .col-sm-12, & + .col-md-12 , & + .col-lg-12{ float: left; } } |
Why not just float the |
Will there be a rule which tells browsers width is more important than float now and in future? in the case of:
|
Is there any solution without adding empty clearing-divs? I just don't understand why the "float:left" for the .col-*-12-classes has been removed? |
Look at this example. In my opinion the behaviour of both rows should be the same on the lg viewport. But in the first row the col-lg-12 got a float of the col-xs-4. That's why it doesn't make sense in my opinion to remove the float on col-12-classes
|
To prevent using
instead of
|
Should be fixed by #11050. |
@mdo This issue still exists on 3.0.2. See http://jsfiddle.net/8Bg2H/ This can be fixed by using @adrienbecker's solution. |
@kmukku : Yes and that causes it to overlap. Not sure but it seem to globally fix all my issues |
Example:
`
see: http://stackoverflow.com/questions/18428450/bootstrap-3-layout-with-panel-display-not-correct-on-small-device/18433782
The text was updated successfully, but these errors were encountered: