From ea6bace72fc5671443cb08840d0d638d2b8a5383 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Wed, 14 Jun 2017 10:57:33 -0400 Subject: [PATCH] RN-165 Removed lineHeight style from Markdown text (#628) --- app/components/post/post.js | 3 +-- app/utils/markdown.js | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/app/components/post/post.js b/app/components/post/post.js index 6c51eba6e..a4bbfa9fd 100644 --- a/app/components/post/post.js +++ b/app/components/post/post.js @@ -731,8 +731,7 @@ const getStyleSheet = makeStyleSheetFromTheme((theme) => { }, message: { color: theme.centerChannelColor, - fontSize: 14, - lineHeight: 21 + fontSize: 14 }, systemMessage: { opacity: 0.6 diff --git a/app/utils/markdown.js b/app/utils/markdown.js index ff27c6ee0..6a378ce11 100644 --- a/app/utils/markdown.js +++ b/app/utils/markdown.js @@ -19,42 +19,36 @@ export const getMarkdownTextStyles = makeStyleSheetFromTheme((theme) => { }, heading1: { fontSize: 17, - lineHeight: 25, fontWeight: '700', marginTop: 10, marginBottom: 10 }, heading2: { fontSize: 17, - lineHeight: 25, fontWeight: '700', marginTop: 10, marginBottom: 10 }, heading3: { fontSize: 17, - lineHeight: 25, fontWeight: '700', marginTop: 10, marginBottom: 10 }, heading4: { fontSize: 17, - lineHeight: 25, fontWeight: '700', marginTop: 10, marginBottom: 10 }, heading5: { fontSize: 17, - lineHeight: 25, fontWeight: '700', marginTop: 10, marginBottom: 10 }, heading6: { fontSize: 17, - lineHeight: 25, fontWeight: '700', marginTop: 10, marginBottom: 10