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

Commit 90aaca9

Browse files
ivan-magdarnystrom
authored andcommitted
Set contain fit mode for IssueCommentHtmlCell (1437) (#1439)
1 parent 0c3fa4d commit 90aaca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Issues/Comments/Html/IssueCommentHtmlCell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ final class IssueCommentHtmlCell: IssueCommentBaseCell, ListBindable, UIWebViewD
6464
table{border-spacing: 0; border-collapse: collapse;}
6565
th, td{border: 1px solid #\(Styles.Colors.Gray.border); padding: 6px 13px;}
6666
th{font-weight: \(Styles.Sizes.HTML.boldWeight); text-align: center;}
67-
img{max-width:100%; box-sizing: border-box; max-height: \(Styles.Sizes.maxImageHeight)px;}
67+
img{max-width:100%; box-sizing: border-box; max-height: \(Styles.Sizes.maxImageHeight)px; object-fit: contain;}
6868
</style>
6969
</head><body>
7070
"""

0 commit comments

Comments
 (0)