Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 120d6a8

Browse files
authored
fix webview background color on iOS 12 (#1997)
1 parent 5cf3a7c commit 120d6a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Classes/Issues/Comments/Html/IssueCommentHtmlCell.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ final class IssueCommentHtmlCell: IssueCommentBaseCell, ListBindable, UIWebViewD
4545
color: #\(Styles.Colors.Gray.dark);
4646
padding: \(Styles.Sizes.columnSpacing)px 0 0;
4747
margin: 0;
48+
background-color: #ffffff;
4849
}
4950
* { font-family: -apple-system; font-size: \(Styles.Text.body.preferredFont.pointSize)px; }
5051
b, strong{font-weight: \(Styles.Sizes.HTML.boldWeight);}
@@ -121,7 +122,7 @@ final class IssueCommentHtmlCell: IssueCommentBaseCell, ListBindable, UIWebViewD
121122
override init(frame: CGRect) {
122123
super.init(frame: frame)
123124

124-
webView.backgroundColor = .clear
125+
webView.backgroundColor = .white
125126
webView.delegate = self
126127
webView.scrollView.bounces = false
127128

0 commit comments

Comments
 (0)