From 9bd46b48ce07853398160323767b4835ab21e3eb Mon Sep 17 00:00:00 2001 From: Saturnino Abril Date: Fri, 7 Sep 2018 01:46:07 +0800 Subject: [PATCH] add bottom margin of 10 to "show more/less button" (#2081) --- .../__snapshots__/show_more_button.test.js.snap | 4 ++++ app/components/show_more_button/show_more_button.js | 1 + 2 files changed, 5 insertions(+) diff --git a/app/components/show_more_button/__snapshots__/show_more_button.test.js.snap b/app/components/show_more_button/__snapshots__/show_more_button.test.js.snap index 283dae457..f355fdfac 100644 --- a/app/components/show_more_button/__snapshots__/show_more_button.test.js.snap +++ b/app/components/show_more_button/__snapshots__/show_more_button.test.js.snap @@ -100,6 +100,7 @@ ShallowWrapper { "flex": 1, "flexDirection": "row", "justifyContent": "center", + "marginBottom": 10, "position": "relative", "top": 10, } @@ -291,6 +292,7 @@ ShallowWrapper { "flex": 1, "flexDirection": "row", "justifyContent": "center", + "marginBottom": 10, "position": "relative", "top": 10, }, @@ -510,6 +512,7 @@ ShallowWrapper { "flex": 1, "flexDirection": "row", "justifyContent": "center", + "marginBottom": 10, "position": "relative", "top": 10, } @@ -701,6 +704,7 @@ ShallowWrapper { "flex": 1, "flexDirection": "row", "justifyContent": "center", + "marginBottom": 10, "position": "relative", "top": 10, }, diff --git a/app/components/show_more_button/show_more_button.js b/app/components/show_more_button/show_more_button.js index 48e783378..4811e9259 100644 --- a/app/components/show_more_button/show_more_button.js +++ b/app/components/show_more_button/show_more_button.js @@ -101,6 +101,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme, showMore) => { flexDirection: 'row', position: 'relative', top: showMore ? -7.5 : 10, + marginBottom: 10, }, dividerLeft: { backgroundColor: changeOpacity(theme.centerChannelColor, 0.2),