Skip to content

Commit

Permalink
fix: horizontal padding and text alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-ctx committed Nov 22, 2023
1 parent 0a845be commit 636acc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SwiftyCompanion/Components/LabeledInfo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ struct LabeledInfo: View {
.frame(maxWidth: .infinity)
.padding(.horizontal, 15)
.padding(.top, 10)
.multilineTextAlignment(.center)
SmallTitle(isUppercase: false, color: .white, text: text)
.frame(maxWidth: .infinity)
.padding(.horizontal, 15)
.padding(.bottom, 10)
.multilineTextAlignment(.center)
}
}
}
1 change: 1 addition & 0 deletions SwiftyCompanion/Views/UserDetailsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ struct UserDetailsView: View {
.padding(.horizontal)
}
.frame(maxWidth: .infinity)
.padding(.vertical, 20)
}
}
}
Expand Down

0 comments on commit 636acc1

Please sign in to comment.