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:
@@ -114,12 +114,12 @@ struct BuildBanner: View {
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.vertical, 3)
|
||||
// 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
|
||||
// header, then sits at the leading edge with a little breathing room around it.
|
||||
// label, and the EXPERIMENTAL pill — instead of bleeding across the full header,
|
||||
// then sits horizontally centered with a little breathing room around it.
|
||||
.background(style.tint.opacity(0.9), in: .rect(cornerRadius: 8))
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.vertical, 4)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
.frame(maxWidth: .infinity, alignment: .center)
|
||||
.accessibilityLabel(style.tooltip(version: info.version, build: info.buildLabel))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user