Card title limit to two lines instead of one
This commit is contained in:
parent
b348f37f1a
commit
2a6afb4092
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue