From 071f4d0d354900bdf9782fd403acbc82475762a4 Mon Sep 17 00:00:00 2001 From: cchaos Date: Mon, 8 Jan 2018 16:42:44 -0500 Subject: [PATCH] Reducing size of children too --- src/components/call_out/call_out.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/call_out/call_out.js b/src/components/call_out/call_out.js index 81874f2c62c..9e2692476aa 100644 --- a/src/components/call_out/call_out.js +++ b/src/components/call_out/call_out.js @@ -58,7 +58,13 @@ export const EuiCallOut = ({ } let optionalChildren; - if (children) { + if (children && size === 's') { + optionalChildren = ( + + {children} + + ); + } else if (children) { optionalChildren = ( {children}