Skip to content

Commit 7adc395

Browse files
committed
Fix blockquote styling
1 parent 2de8946 commit 7adc395

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

WordPress/src/main/java/org/wordpress/android/ui/reader/ReaderPostRenderer.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,10 @@ private String formatPostContentForWebView(final String content, boolean hasTile
366366
.append(" padding: ").append(mResourceVars.marginMediumPx).append("px; }")
367367

368368
// add a left border to blockquotes
369-
.append(" blockquote { margin-left: ").append(mResourceVars.marginMediumPx).append("px; ")
370-
.append(" padding-left: ").append(mResourceVars.marginMediumPx).append("px; ")
371-
.append(" border-left: 3px solid ").append(mResourceVars.greyLightStr).append("; }")
369+
.append(" blockquote { color: ").append(mResourceVars.greyMediumDarkStr).append("; ")
370+
.append(" padding-left: 32px; ")
371+
.append(" margin-left: 0px; ")
372+
.append(" border-left: 3px solid ").append(mResourceVars.greyExtraLightStr).append("; }")
372373

373374
// show links in the same color they are elsewhere in the app
374375
.append(" a { text-decoration: none; color: ").append(mResourceVars.linkColorStr).append("; }")

0 commit comments

Comments
 (0)