Header spacing: add breathing room between channel badge, notes button, and people count\n\n- Add trailing padding after #mesh/#geohash badge.\n- Add leading padding before notes button and people counter to improve readability.

This commit is contained in:
jack
2025-09-13 22:10:07 +02:00
parent 5b3f1a1350
commit 607acdbfe4
+3
View File
@@ -1174,6 +1174,7 @@ struct ContentView: View {
.accessibilityLabel("location channels")
}
.buttonStyle(.plain)
.padding(.trailing, 8)
// Notes icon (mesh only and when location is authorized), to the right of #mesh
if case .mesh = locationManager.selectedChannel, locationManager.permissionState == .authorized {
@@ -1195,6 +1196,7 @@ struct ContentView: View {
.fixedSize(horizontal: true, vertical: false)
}
.buttonStyle(.plain)
.padding(.leading, 8)
.accessibilityLabel("Location notes for this place")
}
@@ -1208,6 +1210,7 @@ struct ContentView: View {
.accessibilityHidden(true)
}
.foregroundColor(headerCountColor)
.padding(.leading, 8)
.lineLimit(1)
.fixedSize(horizontal: true, vertical: false)