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

Support direction, justifyContent, and alignItems props on EuiFlexItem #1888

Closed
cjcenizal opened this issue Apr 25, 2019 · 2 comments
Closed

Comments

@cjcenizal
Copy link
Contributor

This element currently has display: flex on it, which can make it challenging to position content inside of it. The only way to do this is with a custom class (example]. A simple fix would be to support these props the same way EuiFlexGroup does.

@cjcenizal
Copy link
Contributor Author

CC @alisonelizabeth

@snide
Copy link
Contributor

snide commented Mar 17, 2020

As mentioned here #3069 (comment) we've decided to close out this issue. We're a little worried about the prop jumble of these components and think it's easier to simply suggest using a wrapping element around your content. Given the lack of conversation on this issue, we assume that method has worked well enough for folks.

@snide snide closed this as completed Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants