nvrsion: Add: Full-height top area color for EXPERIMENTAL Pill Colors in BuildBanner.swift.
Nucleic-Promote: 1 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -114,12 +114,10 @@ struct BuildBanner: View {
|
||||
.padding(.horizontal, 12)
|
||||
.padding(.vertical, 3)
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
// The channel-colored stripe spans the full width, with the content (channel name,
|
||||
// build label, and the EXPERIMENTAL pill) held at the leading edge. Its height is
|
||||
// just the row of text plus padding; the trailing vertical padding is transparent
|
||||
// margin that keeps the stripe from filling the header's full height.
|
||||
// The channel-colored stripe fills the full width and height of the top area, with
|
||||
// the content (channel name, build label, and the EXPERIMENTAL pill) laid across it
|
||||
// — the channel name at the leading edge, the build label and pill at the trailing.
|
||||
.background(style.tint.opacity(0.9))
|
||||
.padding(.vertical, 4)
|
||||
.accessibilityLabel(style.tooltip(version: info.version, build: info.buildLabel))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user