Skip to content

Commit e40777a

Browse files
Merge pull request #849 from GetStream/vishal/markdown-fix
fix: fixed markdown issues with lists
2 parents 0a6cec6 + 2b69733 commit e40777a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

package/src/components/Message/MessageSimple/utils/renderText.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ const defaultMarkdownStyles: MarkdownStyle = {
3434
padding: 3,
3535
paddingHorizontal: 5,
3636
},
37+
list: {
38+
marginBottom: 8,
39+
marginTop: 8,
40+
},
41+
listItemText: {
42+
flex: 0,
43+
},
3744
mentions: {
3845
fontWeight: '700',
3946
},

0 commit comments

Comments
 (0)