-
-
Notifications
You must be signed in to change notification settings - Fork 79k
Commit
Fixes #9128
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
7 comments
on commit db45a60
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @mdo If I am bothering. But with this change whee lose the option to use sm
and apply it to lg
automatically.
example before the change.
<div>
<div class="col-6 col-sm-4">col-6 col-sm-4</div>
<div class="col-6 col-sm-8">col-6 col-sm-8</div>
</div>
Now to have the same effect I add col-lg
<div>
<div class="col-6 col-sm-4 col-lg-4">col-6 col-sm-4 </div>
<div class="col-6 col-sm-8 col-lg-8">col-6 col-sm-8</div>
</div>
If this is the intention its fine for me. I just liked more before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the ranges make more sense, but we'll tweak that as needed before the final release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eratzlaff +1. Normal use case is to define columns for sm & up, or lg & up. Now i'm having to add another class to achieve the same thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this was to fix #9128 I'd say I prefer the col-*-offset-0 version instead. Either that or only scope the offset classes, though just scoping one of them seems inconsistent.
Although sure now you are "forced" to have a 'proper' column definition. But it feels like to much to always have to add all column classes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Flydiverny I'm agree. I was using the change on my page and y prefer how it was before. And I think if you add offset for sm I'm pretty sure you need some offset for lg too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation needs to be updated to reflect this change. Submitted docs issue as #9302.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer to find a way to update css and not update documentation. Make push
pull
and offset
only to work on screen size range.
Was there major a reason for adding the
max-width
?