From 890c0c2cf34856659d6d7a9c429ebd2ab3dccc9a Mon Sep 17 00:00:00 2001 From: Lachlan Campbell Date: Sat, 23 Dec 2017 16:57:47 -0500 Subject: [PATCH 1/2] Fix whitespace on info add-on card --- addons/info/src/components/Story.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/info/src/components/Story.js b/addons/info/src/components/Story.js index 8d09798e320c..0996b5c311d4 100644 --- a/addons/info/src/components/Story.js +++ b/addons/info/src/components/Story.js @@ -60,7 +60,8 @@ const stylesheet = { borderRadius: '2px', boxShadow: '0px 2px 3px rgba(0, 0, 0, 0.05)', backgroundColor: '#fff', - marginTop: '50px', + marginTop: '20px', + marginBottom: '20px', }, infoContent: { marginBottom: 0, From 2f56ab361bdce31c935546b813cb78e1d6068d56 Mon Sep 17 00:00:00 2001 From: Lachlan Campbell Date: Mon, 25 Dec 2017 20:52:41 -0500 Subject: [PATCH 2/2] Update snapshots --- .../info/src/__snapshots__/index.test.js.snap | 3 +- .../__snapshots__/index.stories.storyshot | 6 ++-- .../addon-info.stories.storyshot | 30 +++++++++---------- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/addons/info/src/__snapshots__/index.test.js.snap b/addons/info/src/__snapshots__/index.test.js.snap index 7e395faadc60..2a7a1b87cfa1 100644 --- a/addons/info/src/__snapshots__/index.test.js.snap +++ b/addons/info/src/__snapshots__/index.test.js.snap @@ -181,7 +181,8 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "fontSize": "15px", "fontWeight": 300, "lineHeight": 1.45, - "marginTop": "50px", + "marginBottom": "20px", + "marginTop": "20px", "padding": "20px 40px 40px", } } diff --git a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot index c7c8fa03b861..a45e4d7aba3d 100644 --- a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot +++ b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot @@ -60,7 +60,7 @@ exports[`Storyshots Button addons composition 1`] = `