From 24bd57ad3fe12d6699589a112d7fda0ccf18446b Mon Sep 17 00:00:00 2001 From: Mattermost Build Date: Thu, 8 Aug 2019 16:10:22 +0200 Subject: [PATCH] Automated cherry pick of #3079 (#3083) * Remove flex for horizontalRule * Fix snapshot tests --- .../__snapshots__/terms_of_service.test.js.snap | 3 --- app/utils/markdown.js | 1 - 2 files changed, 4 deletions(-) diff --git a/app/screens/terms_of_service/__snapshots__/terms_of_service.test.js.snap b/app/screens/terms_of_service/__snapshots__/terms_of_service.test.js.snap index 313792907..58072e61a 100644 --- a/app/screens/terms_of_service/__snapshots__/terms_of_service.test.js.snap +++ b/app/screens/terms_of_service/__snapshots__/terms_of_service.test.js.snap @@ -32,7 +32,6 @@ exports[`TermsOfService should enable/disable navigator buttons on setNavigatorB }, "horizontalRule": Object { "backgroundColor": "#3d3c40", - "flex": 1, "height": 0.5, "marginVertical": 10, }, @@ -167,7 +166,6 @@ exports[`TermsOfService should enable/disable navigator buttons on setNavigatorB }, "horizontalRule": Object { "backgroundColor": "#3d3c40", - "flex": 1, "height": 0.5, "marginVertical": 10, }, @@ -374,7 +372,6 @@ exports[`TermsOfService should match snapshot on enableNavigatorLogout 1`] = ` }, "horizontalRule": Object { "backgroundColor": "#3d3c40", - "flex": 1, "height": 0.5, "marginVertical": 10, }, diff --git a/app/utils/markdown.js b/app/utils/markdown.js index 67c629509..ac2baae84 100644 --- a/app/utils/markdown.js +++ b/app/utils/markdown.js @@ -103,7 +103,6 @@ export const getMarkdownBlockStyles = makeStyleSheetFromTheme((theme) => { horizontalRule: { backgroundColor: theme.centerChannelColor, height: StyleSheet.hairlineWidth, - flex: 1, marginVertical: 10, }, quoteBlockIcon: {