Small visual tweaks

This commit is contained in:
Shav Kinderlehrer 2024-02-24 00:15:46 -05:00
parent 4f041f9020
commit be11eed89d
4 changed files with 5 additions and 1 deletions

View File

@ -61,6 +61,7 @@ struct ItemIconView: View {
if shouldShowCaption { if shouldShowCaption {
Text(item.name ?? "Unknown") Text(item.name ?? "Unknown")
.font(.subheadline) .font(.subheadline)
.frame(width: width)
} }
} }
} }

View File

@ -14,7 +14,7 @@ struct ItemPersonViewItemsRow: View {
var body: some View { var body: some View {
ScrollView(.horizontal) { ScrollView(.horizontal) {
HStack { HStack(alignment: .top) {
ForEach(items) {item in ForEach(items) {item in
NavigationLink { NavigationLink {
ItemView(item: item) ItemView(item: item)

View File

@ -16,6 +16,7 @@ struct LicenseItemView: View {
var body: some View { var body: some View {
VStack(alignment: .leading) { VStack(alignment: .leading) {
Link(name, destination: URL(string: url)!) Link(name, destination: URL(string: url)!)
.bold()
ExpandableText(license) ExpandableText(license)
.multilineTextAlignment(.leading) .multilineTextAlignment(.leading)

View File

@ -64,6 +64,8 @@ struct SettingsView: View {
} label: { } label: {
Text("Acknowledgements") Text("Acknowledgements")
} }
} header: {
Text("About")
} }
} }
.navigationTitle("Settings") .navigationTitle("Settings")