Skip to content

Commit

Permalink
Reducing size of children too
Browse files Browse the repository at this point in the history
  • Loading branch information
cchaos committed Jan 8, 2018
1 parent 8603bd7 commit 071f4d0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/call_out/call_out.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ export const EuiCallOut = ({
}

let optionalChildren;
if (children) {
if (children && size === 's') {
optionalChildren = (
<EuiText size="xs">
{children}
</EuiText>
);
} else if (children) {
optionalChildren = (
<EuiText size="s">
{children}
Expand Down

0 comments on commit 071f4d0

Please sign in to comment.