Commit 7156c088a4

7156c088a438526182c517fafa35d31990d44f18

parent: 45741a5160

Unsigned

cmc <hello@cleberg.net> · 2026-07-25 16:49 UTC

fix: align the redirect-row copy button to the trailing edge

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.

Layout: unified · split

DomainDig/ResultSectionViews.swift +2 −1
@@ -811,12 +811,13 @@ struct WebSectionView: View {
811 Text(redirect.url) 811 Text(redirect.url)
812 .font(appDensity.font(.caption)) 812 .font(appDensity.font(.caption))
813 .textSelection(.enabled) 813 .textSelection(.enabled)
814 AppCopyButton(value: redirect.url, label: "Copy redirect URL")
815 if redirect.isFinal { 814 if redirect.isFinal {
816 Text("(final)") 815 Text("(final)")
817 .font(appDensity.font(.caption2)) 816 .font(appDensity.font(.caption2))
818 .foregroundStyle(Color(.appTextSecondary)) 817 .foregroundStyle(Color(.appTextSecondary))
819 } 818 }
819 Spacer(minLength: 8)
820 AppCopyButton(value: redirect.url, label: "Copy redirect URL")
820 } 821 }
821 } 822 }
822 } 823 }