Skip to content

Commit 773c723

Browse files
committed
Improve rendering of blockquote
This improves the rendering of blockquote to match the format from https://www.markdownguide.org/basic-syntax/#blockquotes-1 before (iOS): <img width="429" alt="before_ios" src="https://user-images.githubusercontent.com/456610/88527319-f1bbd000-cfb1-11ea-8848-1a13bba9a4dd.png"> after (iOS): <img width="429" alt="after_ios" src="https://user-images.githubusercontent.com/456610/88527387-08fabd80-cfb2-11ea-928e-e45702a255c2.png">
1 parent ed1e4bd commit 773c723

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/lib/styles.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ export const styles = {
5050

5151
// Blockquotes
5252
blockquote: {
53-
paddingHorizontal: 14,
54-
paddingVertical: 4,
55-
backgroundColor: '#CCCCCC',
53+
backgroundColor: "#F5F5F5",
54+
borderColor: "#CCC",
55+
borderLeftWidth: 4,
56+
marginLeft: 5,
57+
paddingHorizontal: 5,
5658
},
5759

5860
// Lists

0 commit comments

Comments
 (0)