Skip to content

Add .d-flex utility class for display:flex #20004

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

Closed
atu-record opened this issue May 31, 2016 · 6 comments
Closed

Add .d-flex utility class for display:flex #20004

atu-record opened this issue May 31, 2016 · 6 comments

Comments

@atu-record
Copy link

I'd suggest to add display:flex to utilities
this will be need a lot i guess.

@cvrebert
Copy link
Collaborator

Do you mean "add one class that just sets display:flex", or something else?

@atu-record
Copy link
Author

atu-record commented Jun 1, 2016

exactly - same as the .d-block in _display.scss
a .d-flex would be helpful so we can use the flex aligment classes (_flex.scss) easier outside the grid when flex is enabled.

@cvrebert cvrebert changed the title v4 enhance utility classes with display:flex Add .d-flex utility class for display:flex Jun 1, 2016
@atu-record
Copy link
Author

playing around with flex - i'd realised it would also be helpfull to have responsive display classes
something like

.d-flex-xs
.d-flex-sm
.d-flex-lg
.d-flex-xl

@cvrebert
Copy link
Collaborator

cvrebert commented Jun 3, 2016

I expect that would probably get rejected, per #18410.

@mdo mdo added this to the v4.0.0-alpha.5 milestone Aug 22, 2016
@mdo
Copy link
Member

mdo commented Aug 22, 2016

Adding a flex utility is something we can do I think, but definitely conditional to flexbox mode and what not.

@mdo
Copy link
Member

mdo commented Dec 22, 2016

This was added in #20934.

@mdo mdo closed this as completed Dec 22, 2016
@mdo mdo modified the milestones: v4.0.0-alpha.6, v4.1 ideas Dec 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants