From 7156c088a438526182c517fafa35d31990d44f18 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sat, 25 Jul 2026 11:49:54 -0500 Subject: fix: align the redirect-row copy button to the trailing edge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the Redirects section, each hop rendered the 44pt AppCopyButton inline between the URL and the "(final)" label with no spacer, so the tall tap target broke the row baseline and pushed "(final)" to the right. Move the copy button to the trailing edge behind a Spacer and keep "(final)" next to the URL — matching the certificate-SAN rows and the "Final URL" row in the same card, which already lay their copy buttons out this way. --- DomainDig/ResultSectionViews.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'DomainDig/ResultSectionViews.swift') diff --git a/DomainDig/ResultSectionViews.swift b/DomainDig/ResultSectionViews.swift index e27c4d5..714919d 100644 --- a/DomainDig/ResultSectionViews.swift +++ b/DomainDig/ResultSectionViews.swift @@ -811,12 +811,13 @@ struct WebSectionView: View { Text(redirect.url) .font(appDensity.font(.caption)) .textSelection(.enabled) - AppCopyButton(value: redirect.url, label: "Copy redirect URL") if redirect.isFinal { Text("(final)") .font(appDensity.font(.caption2)) .foregroundStyle(Color(.appTextSecondary)) } + Spacer(minLength: 8) + AppCopyButton(value: redirect.url, label: "Copy redirect URL") } } } -- cgit v1.2.3