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

Show clearfix for examples for xs/sm devices #19287

Merged
merged 1 commit into from
Oct 3, 2016
Merged

Conversation

davidjb
Copy link
Contributor

@davidjb davidjb commented Feb 23, 2016

Currently, the divs on the Examples page in v4 don't clear correctly on sm sized screens (eg the Carousel example at http://v4-alpha.getbootstrap.com/examples/#custom-components). The reason for this is the example divs are 6 columns wide on xs and sm devices via .col-xs-6, but the .clearfix after every two examples uses .hidden-sm-up. This results in the .clearfix being hidden on sm devices, where it is needed.

This PR changes hidden-sm-up to hidden-md-up, ensuring the clearfix shows for the xs and sm breakpoints.

Change `hidden-sm-up` to `hidden-md-up` as the clearfix divs should be visible on both `xs` and `sm` devices (widths of 6 columns).
@cvrebert
Copy link
Collaborator

(The Travis CI failure is irrelevant and can be safely ignored.)

@mdo mdo added this to the v4.0.0-alpha.5 milestone Oct 3, 2016
@mdo mdo merged commit 07033a8 into twbs:v4-dev Oct 3, 2016
@mdo mdo mentioned this pull request Oct 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants