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

Added fullWidth prop to EuiButton #1665

Merged
merged 4 commits into from
Mar 4, 2019
Merged

Conversation

cchaos
Copy link
Contributor

@cchaos cchaos commented Mar 4, 2019

Summary

I've run into several places where I wanted a button to expand the width of it's container, so I just made a prop. It's nice in places like a popover:

screen shot 2019-03-04 at 13 33 47 pm

Checklist

  • This was checked in mobile
  • This was checked in IE11
  • [ ] This was checked in dark mode
  • Any props added have proper autodocs
  • Documentation examples were added
  • A changelog entry exists and is marked appropriately
  • [ ] This was checked for breaking changes and labeled appropriately
  • Jest tests were updated or added to match the most common scenarios
  • [ ] This was checked against keyboard-only and screenreader scenarios
  • [ ] This required updates to Framer X components already existed ;)

@cchaos cchaos requested review from snide and thompsongl March 4, 2019 21:51
Copy link
Contributor

@snide snide left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs CL. I've wanted this as well and was always surprised we don't have it.

@cchaos
Copy link
Contributor Author

cchaos commented Mar 4, 2019

yeah, yeah, you're just too quick for me ;)

@cchaos
Copy link
Contributor Author

cchaos commented Mar 4, 2019

@snide , Added the utility can you do another pass at that?

@cchaos cchaos requested a review from snide March 4, 2019 22:42
@snide
Copy link
Contributor

snide commented Mar 4, 2019

Still good! TY

@cchaos cchaos merged commit dad14dc into elastic:master Mar 4, 2019
@cchaos cchaos deleted the full-width-buttons branch March 4, 2019 22:49
ryankeairns pushed a commit to ryankeairns/eui that referenced this pull request Mar 8, 2019
and .. Added `.eui-fullWidth` utility class
Shigawire pushed a commit to Shigawire/eui that referenced this pull request May 10, 2019
and .. Added `.eui-fullWidth` utility class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants