mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-25 17:51:01 +00:00
Card title limit to two lines instead of one
This commit is contained in:
parent
b348f37f1a
commit
2a6afb4092
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ public struct StatusRowCardView: View {
|
||||||
VStack(alignment: .leading, spacing: 4) {
|
VStack(alignment: .leading, spacing: 4) {
|
||||||
Text(title)
|
Text(title)
|
||||||
.font(.scaledHeadline)
|
.font(.scaledHeadline)
|
||||||
.lineLimit(1)
|
.lineLimit(2)
|
||||||
if let description = card.description, !description.isEmpty {
|
if let description = card.description, !description.isEmpty {
|
||||||
Text(description)
|
Text(description)
|
||||||
.font(.scaledFootnote)
|
.font(.scaledFootnote)
|
||||||
|
|
Loading…
Reference in a new issue