Merge pull request #548 from j-f1/multiline-content-warning
Allow content warning descriptions to be on multiple lines
This commit is contained in:
commit
e653d937a4
|
@ -66,6 +66,8 @@ extension MetaLabel {
|
||||||
textColor = Asset.Colors.Label.primary.color
|
textColor = Asset.Colors.Label.primary.color
|
||||||
textAlignment = .center
|
textAlignment = .center
|
||||||
paragraphStyle.alignment = .center
|
paragraphStyle.alignment = .center
|
||||||
|
numberOfLines = 0
|
||||||
|
textContainer.maximumNumberOfLines = 0
|
||||||
|
|
||||||
case .statusSpoilerBanner:
|
case .statusSpoilerBanner:
|
||||||
font = UIFontMetrics(forTextStyle: .headline).scaledFont(for: .systemFont(ofSize: 17, weight: .regular))
|
font = UIFontMetrics(forTextStyle: .headline).scaledFont(for: .systemFont(ofSize: 17, weight: .regular))
|
||||||
|
|
Loading…
Reference in New Issue