From 7e2192a052aa4fcab6ff126a12146e932a569492 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Wed, 14 Jun 2017 10:58:17 -0400 Subject: [PATCH] RN-176 Fixed horizontal rules not rendering (#629) --- app/utils/markdown.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/app/utils/markdown.js b/app/utils/markdown.js index 6a378ce11..99acb7c14 100644 --- a/app/utils/markdown.js +++ b/app/utils/markdown.js @@ -63,12 +63,6 @@ export const getMarkdownTextStyles = makeStyleSheetFromTheme((theme) => { codeBlock: { fontFamily: codeFont }, - horizontalRule: { - backgroundColor: theme.centerChannelColor, - height: StyleSheet.hairlineWidth, - flex: 1, - marginVertical: 10 - }, mention: { color: theme.linkColor } @@ -84,7 +78,10 @@ export const getMarkdownBlockStyles = makeStyleSheetFromTheme((theme) => { paddingVertical: 2 }, horizontalRule: { - backgroundColor: theme.centerChannelColor + backgroundColor: theme.centerChannelColor, + height: StyleSheet.hairlineWidth, + flex: 1, + marginVertical: 10 }, quoteBlock: { color: changeOpacity(theme.centerChannelColor, 0.5),