nvrsion: Add: Move the stripe horizontally and vertically align it with the app/project title in BuildBanner.swift, RootView.swift, and ios/NucleicRemote/NucleicRemote/Views/BuildBanner.swift.

Nucleic-Promote: 1
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-07 01:10:34 -07:00
co-authored by Nucleic
parent 6fba5b85c5
commit b106169de1
@@ -114,12 +114,12 @@ struct BuildBanner: View {
.padding(.horizontal, 12) .padding(.horizontal, 12)
.padding(.vertical, 3) .padding(.vertical, 3)
// The channel-colored stripe wraps only this row of content — channel name, build // The channel-colored stripe wraps only this row of content — channel name, build
// label, and the EXPERIMENTAL pill — instead of bleeding across the full window // label, and the EXPERIMENTAL pill — instead of bleeding across the full header,
// header, then sits at the leading edge with a little breathing room around it. // then sits horizontally centered with a little breathing room around it.
.background(style.tint.opacity(0.9), in: .rect(cornerRadius: 8)) .background(style.tint.opacity(0.9), in: .rect(cornerRadius: 8))
.padding(.horizontal, 12) .padding(.horizontal, 12)
.padding(.vertical, 4) .padding(.vertical, 4)
.frame(maxWidth: .infinity, alignment: .leading) .frame(maxWidth: .infinity, alignment: .center)
.accessibilityLabel(style.tooltip(version: info.version, build: info.buildLabel)) .accessibilityLabel(style.tooltip(version: info.version, build: info.buildLabel))
} }
} }