From bd0e937a9e6322046fa8ccbe2d54ff66c178f8fe Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Mon, 4 Dec 2017 11:11:11 -0700 Subject: [PATCH] put title in tooltip-content div --- src/components/tooltip/tooltip.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/tooltip/tooltip.js b/src/components/tooltip/tooltip.js index 6c577a0fbad..e6e3da8eadd 100644 --- a/src/components/tooltip/tooltip.js +++ b/src/components/tooltip/tooltip.js @@ -42,14 +42,17 @@ export class Tooltip extends React.PureComponent { let tooltipTitle; if (title) { tooltipTitle = ( -
{title}
+
{title}
); } return (
{tooltipTitle} -
{children}
+
+ {tooltipTitle} + {children} +
); }