Skip to content

Commit

Permalink
Improve rendering of blockquote
Browse files Browse the repository at this point in the history
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">
  • Loading branch information
abirchall committed Jul 27, 2020
1 parent ed1e4bd commit 773c723
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/lib/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ export const styles = {

// Blockquotes
blockquote: {
paddingHorizontal: 14,
paddingVertical: 4,
backgroundColor: '#CCCCCC',
backgroundColor: "#F5F5F5",
borderColor: "#CCC",
borderLeftWidth: 4,
marginLeft: 5,
paddingHorizontal: 5,
},

// Lists
Expand Down

0 comments on commit 773c723

Please sign in to comment.