Header spacing: move #mesh/#geohash closer to notes/bookmark\n\n- Reduce trailing padding on channel badge and leading padding on notes/bookmark to cluster them together.\n- Keeps larger gap before people count for readability.

This commit is contained in:
jack
2025-09-13 22:27:51 +02:00
parent 7da6f95e87
commit 743551c10c
+3 -3
View File
@@ -1166,7 +1166,7 @@ struct ContentView: View {
} }
.buttonStyle(.plain) .buttonStyle(.plain)
.padding(.leading, 14) .padding(.leading, 14)
.padding(.trailing, 8) .padding(.trailing, 4)
// Bookmark toggle (geochats): position after the #geohash badge with same spacing // Bookmark toggle (geochats): position after the #geohash badge with same spacing
if case .location(let ch) = locationManager.selectedChannel { if case .location(let ch) = locationManager.selectedChannel {
@@ -1175,7 +1175,7 @@ struct ContentView: View {
.font(.system(size: 12)) .font(.system(size: 12))
} }
.buttonStyle(.plain) .buttonStyle(.plain)
.padding(.leading, 8) .padding(.leading, 4)
.accessibilityLabel("Toggle bookmark for #\(ch.geohash)") .accessibilityLabel("Toggle bookmark for #\(ch.geohash)")
} }
@@ -1199,7 +1199,7 @@ struct ContentView: View {
.fixedSize(horizontal: true, vertical: false) .fixedSize(horizontal: true, vertical: false)
} }
.buttonStyle(.plain) .buttonStyle(.plain)
.padding(.leading, 8) .padding(.leading, 4)
.accessibilityLabel("Location notes for this place") .accessibilityLabel("Location notes for this place")
} }