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

Remove .float-left from card header nav docs #21292

Merged
merged 1 commit into from
Dec 5, 2016
Merged

Remove .float-left from card header nav docs #21292

merged 1 commit into from
Dec 5, 2016

Conversation

Starsam80
Copy link
Contributor

The docs say that we have to include a float utility class for proper alignment, but this must have changed recently. In my testing, removing .float-left not only fixed the header nav when flex was enabled (we were floating in a element without clearfix because of this line), but also made no difference when flex was disabled.

@mdo mdo added this to the v4.0.0-alpha.6 milestone Dec 5, 2016
@mdo mdo merged commit ea9f846 into twbs:v4-dev Dec 5, 2016
@mdo
Copy link
Member

mdo commented Dec 5, 2016

Note that right aligned navs in cards will need a float utility, and in those instances you'll still need the clearfix on the header itself.

@mdo mdo mentioned this pull request Dec 5, 2016
@Starsam80 Starsam80 deleted the fix-flex-header-nav branch December 5, 2016 00:50
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.

2 participants