From 0c31b3c76b322e766725702453d2b24435b7096d Mon Sep 17 00:00:00 2001 From: mtg137 Date: Sat, 10 Jul 2021 12:00:26 -0400 Subject: [PATCH] fix markdown styles --- app/components/core/MarkdownScreen.js | 8 +++++--- app/themes/activityTheme.js | 11 +++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/app/components/core/MarkdownScreen.js b/app/components/core/MarkdownScreen.js index 6944799ab..c05897321 100644 --- a/app/components/core/MarkdownScreen.js +++ b/app/components/core/MarkdownScreen.js @@ -101,15 +101,17 @@ class MarkdownScreen extends Component { render() { const { mstyle, children } = this.props; - const {heading1, heading2, heading3, heading4, heading5, heading6, paragraph} = markdownStyle; + const { + heading1, heading2, heading3, heading4, heading5, heading6, paragraph, ordered_list_content, textgroup, ordered_list_icon + } = markdownStyle; return ( { Linking.openURL(url).catch(error => console.warn('An error occurred: ', error)); }} diff --git a/app/themes/activityTheme.js b/app/themes/activityTheme.js index efd516926..ce044b4af 100644 --- a/app/themes/activityTheme.js +++ b/app/themes/activityTheme.js @@ -155,6 +155,17 @@ export const markdownStyle = { image: { resizeMode: 'contain', }, + ordered_list_content: { + + }, + textgroup: { + fontSize: 20 + }, + ordered_list_icon: { + marginLeft: 10, + marginRight: 10, + fontSize: 20 + }, }; export default styles;