From d0a4d7daac34e9a75f80363fa78ecf3219f3ce3c Mon Sep 17 00:00:00 2001 From: Daniel Duan <1474548+danielduan@users.noreply.github.com> Date: Mon, 26 Mar 2018 15:44:58 -0400 Subject: [PATCH 1/2] remove confusing drop shadow from info body sections --- addons/info/src/components/Story.js | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/info/src/components/Story.js b/addons/info/src/components/Story.js index 1021f180531f..db39e7699ce8 100644 --- a/addons/info/src/components/Story.js +++ b/addons/info/src/components/Story.js @@ -58,7 +58,6 @@ const stylesheet = { border: '1px solid #eee', padding: '20px 40px 40px', borderRadius: '2px', - boxShadow: '0px 2px 3px rgba(0, 0, 0, 0.05)', backgroundColor: '#fff', marginTop: '20px', marginBottom: '20px', From 6640b67893d681b5ccee74ff6d26c5b670a4e0ee Mon Sep 17 00:00:00 2001 From: Daniel Duan Date: Mon, 26 Mar 2018 17:24:34 -0400 Subject: [PATCH 2/2] update snapshots for border --- .../info/src/__snapshots__/index.test.js.snap | 9 ------ .../__snapshots__/index.stories.storyshot | 6 ++-- .../addon-info.stories.storyshot | 30 +++++++++---------- 3 files changed, 18 insertions(+), 27 deletions(-) diff --git a/addons/info/src/__snapshots__/index.test.js.snap b/addons/info/src/__snapshots__/index.test.js.snap index baccb582c91f..544e43927f35 100644 --- a/addons/info/src/__snapshots__/index.test.js.snap +++ b/addons/info/src/__snapshots__/index.test.js.snap @@ -93,7 +93,6 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "backgroundColor": "#fff", "border": "1px solid #eee", "borderRadius": "2px", - "boxShadow": "0px 2px 3px rgba(0, 0, 0, 0.05)", "color": "#444", "fontFamily": "-apple-system, \\".SFNSText-Regular\\", \\"San Francisco\\", BlinkMacSystemFont, \\"Segoe UI\\", \\"Roboto\\", \\"Oxygen\\", \\"Ubuntu\\", \\"Cantarell\\", \\"Fira Sans\\", \\"Droid Sans\\", \\"Helvetica Neue\\", \\"Lucida Grande\\", \\"Arial\\", sans-serif", "fontSize": "15px", @@ -266,7 +265,6 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "backgroundColor": "#fff", "border": "1px solid #eee", "borderRadius": "2px", - "boxShadow": "0px 2px 3px rgba(0, 0, 0, 0.05)", "color": "#444", "fontFamily": "-apple-system, \\".SFNSText-Regular\\", \\"San Francisco\\", BlinkMacSystemFont, \\"Segoe UI\\", \\"Roboto\\", \\"Oxygen\\", \\"Ubuntu\\", \\"Cantarell\\", \\"Fira Sans\\", \\"Droid Sans\\", \\"Helvetica Neue\\", \\"Lucida Grande\\", \\"Arial\\", sans-serif", "fontSize": "15px", @@ -487,7 +485,6 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "backgroundColor": "#fff", "border": "1px solid #eee", "borderRadius": "2px", - "boxShadow": "0px 2px 3px rgba(0, 0, 0, 0.05)", "color": "#444", "fontFamily": "-apple-system, \\".SFNSText-Regular\\", \\"San Francisco\\", BlinkMacSystemFont, \\"Segoe UI\\", \\"Roboto\\", \\"Oxygen\\", \\"Ubuntu\\", \\"Cantarell\\", \\"Fira Sans\\", \\"Droid Sans\\", \\"Helvetica Neue\\", \\"Lucida Grande\\", \\"Arial\\", sans-serif", "fontSize": "15px", @@ -863,7 +860,6 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "backgroundColor": "#fff", "border": "1px solid #eee", "borderRadius": "2px", - "boxShadow": "0px 2px 3px rgba(0, 0, 0, 0.05)", "color": "#444", "fontFamily": "-apple-system, \\".SFNSText-Regular\\", \\"San Francisco\\", BlinkMacSystemFont, \\"Segoe UI\\", \\"Roboto\\", \\"Oxygen\\", \\"Ubuntu\\", \\"Cantarell\\", \\"Fira Sans\\", \\"Droid Sans\\", \\"Helvetica Neue\\", \\"Lucida Grande\\", \\"Arial\\", sans-serif", "fontSize": "15px", @@ -1005,7 +1001,6 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "backgroundColor": "#fff", "border": "1px solid #eee", "borderRadius": "2px", - "boxShadow": "0px 2px 3px rgba(0, 0, 0, 0.05)", "color": "#444", "fontFamily": "-apple-system, \\".SFNSText-Regular\\", \\"San Francisco\\", BlinkMacSystemFont, \\"Segoe UI\\", \\"Roboto\\", \\"Oxygen\\", \\"Ubuntu\\", \\"Cantarell\\", \\"Fira Sans\\", \\"Droid Sans\\", \\"Helvetica Neue\\", \\"Lucida Grande\\", \\"Arial\\", sans-serif", "fontSize": "15px", @@ -1277,7 +1272,6 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "backgroundColor": "#fff", "border": "1px solid #eee", "borderRadius": "2px", - "boxShadow": "0px 2px 3px rgba(0, 0, 0, 0.05)", "color": "#444", "fontFamily": "-apple-system, \\".SFNSText-Regular\\", \\"San Francisco\\", BlinkMacSystemFont, \\"Segoe UI\\", \\"Roboto\\", \\"Oxygen\\", \\"Ubuntu\\", \\"Cantarell\\", \\"Fira Sans\\", \\"Droid Sans\\", \\"Helvetica Neue\\", \\"Lucida Grande\\", \\"Arial\\", sans-serif", "fontSize": "15px", @@ -1576,7 +1570,6 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "backgroundColor": "#fff", "border": "1px solid #eee", "borderRadius": "2px", - "boxShadow": "0px 2px 3px rgba(0, 0, 0, 0.05)", "color": "#444", "fontFamily": "-apple-system, \\".SFNSText-Regular\\", \\"San Francisco\\", BlinkMacSystemFont, \\"Segoe UI\\", \\"Roboto\\", \\"Oxygen\\", \\"Ubuntu\\", \\"Cantarell\\", \\"Fira Sans\\", \\"Droid Sans\\", \\"Helvetica Neue\\", \\"Lucida Grande\\", \\"Arial\\", sans-serif", "fontSize": "15px", @@ -1713,7 +1706,6 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "backgroundColor": "#fff", "border": "1px solid #eee", "borderRadius": "2px", - "boxShadow": "0px 2px 3px rgba(0, 0, 0, 0.05)", "color": "#444", "fontFamily": "-apple-system, \\".SFNSText-Regular\\", \\"San Francisco\\", BlinkMacSystemFont, \\"Segoe UI\\", \\"Roboto\\", \\"Oxygen\\", \\"Ubuntu\\", \\"Cantarell\\", \\"Fira Sans\\", \\"Droid Sans\\", \\"Helvetica Neue\\", \\"Lucida Grande\\", \\"Arial\\", sans-serif", "fontSize": "15px", @@ -1878,7 +1870,6 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" "backgroundColor": "#fff", "border": "1px solid #eee", "borderRadius": "2px", - "boxShadow": "0px 2px 3px rgba(0, 0, 0, 0.05)", "color": "#444", "fontFamily": "-apple-system, \\".SFNSText-Regular\\", \\"San Francisco\\", BlinkMacSystemFont, \\"Segoe UI\\", \\"Roboto\\", \\"Oxygen\\", \\"Ubuntu\\", \\"Cantarell\\", \\"Fira Sans\\", \\"Droid Sans\\", \\"Helvetica Neue\\", \\"Lucida Grande\\", \\"Arial\\", sans-serif", "fontSize": "15px", 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 fb90836a82f2..bc2d26733f44 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`] = `