Card title limit to two lines instead of one

This commit is contained in:
Thomas Ricouard 2024-01-31 07:57:59 +01:00
parent b348f37f1a
commit 2a6afb4092

View file

@ -100,7 +100,7 @@ public struct StatusRowCardView: View {
VStack(alignment: .leading, spacing: 4) {
Text(title)
.font(.scaledHeadline)
.lineLimit(1)
.lineLimit(2)
if let description = card.description, !description.isEmpty {
Text(description)
.font(.scaledFootnote)