Skip to content

Commit

Permalink
Fix title line limit
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfreeman committed Nov 5, 2022
1 parent 8f5ecb0 commit 2385a3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Flipper/Packages/UI/Sources/Common/Navigaion/Title.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ struct Title: View {
var body: some View {
VStack(spacing: 0) {
Text(title)
.lineLimit(1)
.font(.system(size: 18, weight: .bold))
if let description = description {
Text(description)
.lineLimit(1)
.font(.system(size: 12, weight: .medium))
}
}
Expand Down

0 comments on commit 2385a3e

Please sign in to comment.