From ff97148c2b3640be11d7577645a73a095615edc8 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Tue, 7 Jul 2026 01:21:15 -0700 Subject: [PATCH] nvrsion: Add: Fix height calculation in BuildBanner to use full header height with stripe height based on build type/hash/pill text + padding. Nucleic-Promote: 1 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Views/BuildBanner.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NucleicRemote/NucleicRemote/Views/BuildBanner.swift b/NucleicRemote/NucleicRemote/Views/BuildBanner.swift index bbdee47..b5252c7 100644 --- a/NucleicRemote/NucleicRemote/Views/BuildBanner.swift +++ b/NucleicRemote/NucleicRemote/Views/BuildBanner.swift @@ -114,8 +114,11 @@ struct BuildBanner: View { .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. + // 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. .background(style.tint.opacity(0.9)) + .padding(.vertical, 4) .accessibilityLabel(style.tooltip(version: info.version, build: info.buildLabel)) } }