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 a small version of the EuiCallOut #269

Merged
merged 3 commits into from
Jan 8, 2018

Conversation

cchaos
Copy link
Contributor

@cchaos cchaos commented Jan 8, 2018

For issue: elastic/kibana#15713

The EuiCallOut now accepts a property of size which for now can only be s or m and defaults to m.

I realized that just adjusting the padding of the CallOut wasn't significant enough to create a more unobtrusive component. I had to adjust the heading size as well. That is why the property is not paddingSize but just size in general.

screen shot 2018-01-08 at 15 13 02 pm

@cchaos cchaos requested a review from snide January 8, 2018 20:14
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.

@cchaos Grat.Can you bump the size of the child paragraphs down on the off chance they use them as well. That way they're still usable if people need small messages.

Think that makes sense. Right now it looks a little weird if you use more than just the title (which, granted I'm guessing won't be often).

Something like this?

image

@cchaos
Copy link
Contributor Author

cchaos commented Jan 8, 2018

I'm not really sure it needed to, but I did anyway. This is a screenshot of what it would look like with children, though I took out the children from the actual example.

screen shot 2018-01-08 at 16 35 16 pm

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.

All good. Likely needs a rebase against master or something for the failing test.

@cchaos cchaos merged commit 8c538ad into elastic:master Jan 8, 2018
@cchaos cchaos deleted the callout-sizing branch January 8, 2018 22:49
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