From 0b9cd62fd7368d1fc03b8e030cf7ee0dade71b23 Mon Sep 17 00:00:00 2001 From: TJ Egan Date: Fri, 7 Feb 2020 10:44:52 -0800 Subject: [PATCH] docs(tooltip): ensure tooltip is not hidden in storybook --- .../react/src/components/Tooltip/Tooltip-story.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/packages/react/src/components/Tooltip/Tooltip-story.js b/packages/react/src/components/Tooltip/Tooltip-story.js index af45fe898246..ed57a510e172 100644 --- a/packages/react/src/components/Tooltip/Tooltip-story.js +++ b/packages/react/src/components/Tooltip/Tooltip-story.js @@ -58,6 +58,11 @@ const props = { }), }; +const containerStyles = { + marginTop: '2rem', + marginLeft: '5rem', +}; + Tooltip.displayName = 'Tooltip'; function UncontrolledTooltipExample() { @@ -91,7 +96,7 @@ storiesOf('Tooltip', module) .add( 'default (bottom)', () => ( -
+

This is some tooltip text. This box shows the maximum amount of text @@ -120,7 +125,7 @@ storiesOf('Tooltip', module) .add( 'no icon', () => ( -

+

This is some tooltip text. This box shows the maximum amount of text @@ -149,7 +154,7 @@ storiesOf('Tooltip', module) .add( 'custom icon', () => ( -

+

This is some tooltip text. This box shows the maximum amount of text @@ -178,7 +183,7 @@ storiesOf('Tooltip', module) .add( 'only custom icon', () => ( -

+

This is some tooltip text. This box shows the maximum amount of text