Skip to content

Commit cb32e5a

Browse files
committed
Fix overly long related post titles
1 parent 696fef0 commit cb32e5a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
26.6
22
-----
3+
* [*] Fix overly long related post titles [#25011]
34

45

56
26.5

WordPress/Classes/ViewRelated/Reader/Detail/Views/ReaderRelatedPostsCell.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ReaderRelatedPostsCell: UITableViewCell, NibReusable {
1919
featuredImageView.contentMode = .scaleAspectFill
2020
featuredImageView.backgroundColor = .placeholderText
2121

22-
titleLabel.numberOfLines = 0
22+
titleLabel.numberOfLines = 3
2323
titleLabel.font = WPStyleGuide.fontForTextStyle(.body, fontWeight: .semibold)
2424
titleLabel.textColor = .label
2525

0 commit comments

Comments
 (0)